2025-07-28 09:56:47,009 [ 205622 ] INFO : ClickHouse root is not set. Will use /home/ubuntu/_work/ClickHouse/ClickHouse (runner:53, check_args_and_update_paths) 2025-07-28 09:56:47,009 [ 205622 ] INFO : Cases dir is not set. Will use /home/ubuntu/_work/ClickHouse/ClickHouse/tests/integration (runner:79, check_args_and_update_paths) 2025-07-28 09:56:47,009 [ 205622 ] INFO : utils dir is not set. Will use /home/ubuntu/_work/ClickHouse/ClickHouse/utils (runner:90, check_args_and_update_paths) 2025-07-28 09:56:47,009 [ 205622 ] INFO : base_configs_dir: /home/ubuntu/_work/ClickHouse/ClickHouse/programs/server, binary: /home/ubuntu/_work/_temp/test/build/clickhouse, cases_dir: /home/ubuntu/_work/ClickHouse/ClickHouse/tests/integration (runner:92, check_args_and_update_paths) clickhouse_integration_tests_volume Running pytest container as: 'docker run --rm --name clickhouse_integration_tests_hs5iec --privileged --dns-search='.' --memory=30709035008 --security-opt seccomp=unconfined --cap-add=SYS_PTRACE --volume=/home/ubuntu/_work/_temp/test/build/clickhouse:/clickhouse --volume=/home/ubuntu/_work/ClickHouse/ClickHouse/programs/server:/clickhouse-config --volume=/home/ubuntu/_work/ClickHouse/ClickHouse/tests/integration:/ClickHouse/tests/integration --volume=/home/ubuntu/_work/ClickHouse/ClickHouse/utils/backupview:/ClickHouse/utils/backupview --volume=/home/ubuntu/_work/ClickHouse/ClickHouse/utils/grpc-client/pb2:/ClickHouse/utils/grpc-client/pb2 --volume=/run:/run/host:ro --volume=clickhouse_integration_tests_volume:/var/lib/docker -e DOCKER_DOTNET_CLIENT_TAG=11de0b29a15d -e DOCKER_HELPER_TAG=5dc43a6382f0 -e DOCKER_BASE_TAG=5ccda723c1fc -e DOCKER_KERBEROS_KDC_TAG=9391ecdee8d7 -e DOCKER_MYSQL_GOLANG_CLIENT_TAG=9bec2a638e6e -e DOCKER_MYSQL_JAVA_CLIENT_TAG=766bff31cfe4 -e DOCKER_MYSQL_JS_CLIENT_TAG=41ba7c2ec2a1 -e DOCKER_MYSQL_PHP_CLIENT_TAG=88be89c1e3b6 -e DOCKER_NGINX_DAV_TAG=b55ac9cd7519 -e DOCKER_POSTGRESQL_JAVA_CLIENT_TAG=a4eff5c7f4d6 -e DOCKER_PYTHON_BOTTLE_TAG=d862517635bf -e DOCKER_CLIENT_TIMEOUT=300 -e COMPOSE_HTTP_TIMEOUT=600 -e PYTHONUNBUFFERED=1 -e PYTEST_ADDOPTS="--dist=loadfile -n 10 -rfEps --run-id=1 --color=no --durations=0 --report-log=parallel0_1.jsonl --report-log-exclude-logs-on-passed-tests test_backup_restore_on_cluster/test_cancel_backup.py::test_shutdown_cancels_backup 'test_cow_policy/test.py::test_cow_policy[cow_policy_multi_disk]' 'test_cow_policy/test.py::test_cow_policy[cow_policy_multi_volume]' -vvv " altinityinfra/integration-tests-runner:226bfaf75ac1 '. Start tests ============================= test session starts ============================== platform linux -- Python 3.10.12, pytest-7.4.4, pluggy-1.5.0 -- /usr/bin/python3 cachedir: .pytest_cache Test order randomisation NOT enabled. Enable with --random-order or --random-order-bucket= rootdir: /ClickHouse/tests/integration configfile: pytest.ini plugins: timeout-2.3.1, repeat-0.9.3, order-1.0.0, reportlog-0.4.0, xdist-3.5.0, random-order-1.1.1 timeout: 900.0s timeout method: signal timeout func_only: False created: 10/10 workers 10 workers [3 items] scheduling tests via LoadFileScheduling test_cow_policy/test.py::test_cow_policy[cow_policy_multi_disk] test_backup_restore_on_cluster/test_cancel_backup.py::test_shutdown_cancels_backup [gw2] [ 33%] FAILED test_backup_restore_on_cluster/test_cancel_backup.py::test_shutdown_cancels_backup [gw1] [ 66%] FAILED test_cow_policy/test.py::test_cow_policy[cow_policy_multi_disk] test_cow_policy/test.py::test_cow_policy[cow_policy_multi_volume] [gw1] [100%] FAILED test_cow_policy/test.py::test_cow_policy[cow_policy_multi_volume] =================================== FAILURES =================================== _________________________ test_shutdown_cancels_backup _________________________ [gw2] linux -- Python 3.10.12 /usr/bin/python3 def test_shutdown_cancels_backup(): > with NoTrashChecker() as no_trash_checker: test_backup_restore_on_cluster/test_cancel_backup.py:556: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = type = None, value = None, traceback = None def __exit__(self, type, value, traceback): list_of_znodes = set( node1.query( "SELECT name FROM system.zookeeper WHERE path = '/clickhouse/backups' " + "AND NOT (name == 'alive_tracker')" ).splitlines() ) new_znodes = list_of_znodes.difference(self.__previous_list_of_znodes) if new_znodes: print(f"Found nodes in ZooKeeper: {new_znodes}") for node in new_znodes: print( f"Nodes in '/clickhouse/backups/{node}':\n" + node1.query( f"SELECT name FROM system.zookeeper WHERE path = '/clickhouse/backups/{node}'" ) ) print( f"Nodes in '/clickhouse/backups/{node}/stage':\n" + node1.query( f"SELECT name FROM system.zookeeper WHERE path = '/clickhouse/backups/{node}/stage'" ) ) if self.check_zookeeper: assert new_znodes == set() list_of_backups = set( os.listdir(os.path.join(node1.cluster.instances_dir, "backups")) ) new_backups = list_of_backups.difference(self.__previous_list_of_backups) unfinished_backups = set( backup for backup in new_backups if not os.path.exists( os.path.join(node1.cluster.instances_dir, "backups", backup, ".backup") ) ) new_backups = set( backup for backup in new_backups if backup not in unfinished_backups ) if new_backups: print(f"Found new backups: {new_backups}") if unfinished_backups: print(f"Found unfinished backups: {unfinished_backups}") assert new_backups == set(self.expect_backups) assert unfinished_backups.difference(self.allow_unfinished_backups) == set() all_errors = set() start_time = time.strftime( "%Y-%m-%d %H:%M:%S", self.__start_time_for_collecting_errors ) for node in nodes: errors_query_result = node.query( "SELECT name FROM system.errors WHERE last_error_time >= toDateTime('" + start_time + "') " + "AND NOT ((name == 'KEEPER_EXCEPTION') AND (last_error_message LIKE '%Fault injection%')) " + "AND NOT (name == 'NO_ELEMENTS_IN_CONFIG')" ) errors = errors_query_result.splitlines() if errors: print(f"{get_node_name(node)}: Found errors: {errors}") print( node.query( "SELECT name, last_error_message FROM system.errors WHERE last_error_time >= toDateTime('" + start_time + "')" ) ) for error in errors: > assert (error in self.expect_errors) or (error in self.allow_errors) E AssertionError: assert ('NETLINK_ERROR' in ['QUERY_WAS_CANCELLED'] or 'NETLINK_ERROR' in []) E + where ['QUERY_WAS_CANCELLED'] = .expect_errors E + and [] = .allow_errors test_backup_restore_on_cluster/test_cancel_backup.py:394: AssertionError ---------------------------- Captured stdout setup ----------------------------- Copy common default production configuration from /clickhouse-config. Files: config.xml, users.xml Copy common default production configuration from /clickhouse-config. Files: config.xml, users.xml ------------------------------ Captured log setup ------------------------------ 2025-07-28 09:56:53.818000 [ 642 ] DEBUG : Command:[docker ps | wc -l] (cluster.py:121, run_and_check) 2025-07-28 09:56:53.837000 [ 642 ] DEBUG : Stdout:1 (cluster.py:145, run_and_check) 2025-07-28 09:56:53.837000 [ 642 ] DEBUG : No running containers (conftest.py:95, cleanup_environment) 2025-07-28 09:56:53.837000 [ 642 ] DEBUG : Pruning Docker networks (conftest.py:97, cleanup_environment) 2025-07-28 09:56:53.837000 [ 642 ] DEBUG : Command:[docker network prune --force] (cluster.py:121, run_and_check) 2025-07-28 09:56:53.859000 [ 642 ] DEBUG : Command:[sysctl net.ipv4.ip_local_port_range='55000 65535'] (cluster.py:121, run_and_check) 2025-07-28 09:56:53.861000 [ 642 ] DEBUG : Stdout:net.ipv4.ip_local_port_range = 55000 65535 (cluster.py:145, run_and_check) 2025-07-28 09:56:53.862000 [ 642 ] INFO : Running tests in /ClickHouse/tests/integration/test_backup_restore_on_cluster/test_cancel_backup.py (cluster.py:2738, start) 2025-07-28 09:56:53.862000 [ 642 ] DEBUG : Cluster start called. is_up=False (cluster.py:2745, start) 2025-07-28 09:56:53.881000 [ 642 ] DEBUG : Docker networks for project roottestbackuprestoreonclustercancelbackup-gw2 are NETWORK ID NAME DRIVER SCOPE (cluster.py:830, print_all_docker_pieces) 2025-07-28 09:56:53.899000 [ 642 ] DEBUG : Docker containers for project roottestbackuprestoreonclustercancelbackup-gw2 are CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES (cluster.py:838, print_all_docker_pieces) 2025-07-28 09:56:53.922000 [ 642 ] DEBUG : Docker volumes for project roottestbackuprestoreonclustercancelbackup-gw2 are DRIVER VOLUME NAME (cluster.py:846, print_all_docker_pieces) 2025-07-28 09:56:53.922000 [ 642 ] DEBUG : Cleanup called (cluster.py:851, cleanup) 2025-07-28 09:56:53.941000 [ 642 ] DEBUG : Docker networks for project roottestbackuprestoreonclustercancelbackup-gw2 are NETWORK ID NAME DRIVER SCOPE (cluster.py:830, print_all_docker_pieces) 2025-07-28 09:56:53.959000 [ 642 ] DEBUG : Docker containers for project roottestbackuprestoreonclustercancelbackup-gw2 are CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES (cluster.py:838, print_all_docker_pieces) 2025-07-28 09:56:53.980000 [ 642 ] DEBUG : Docker volumes for project roottestbackuprestoreonclustercancelbackup-gw2 are DRIVER VOLUME NAME (cluster.py:846, print_all_docker_pieces) 2025-07-28 09:56:53.980000 [ 642 ] DEBUG : Command:[docker container list --all --filter name='^/roottestbackuprestoreonclustercancelbackup-gw2-.*-1$' --format '{{.ID}}:{{.Names}}'] (cluster.py:121, run_and_check) 2025-07-28 09:56:54.000000 [ 642 ] DEBUG : Unstopped containers: {} (cluster.py:865, cleanup) 2025-07-28 09:56:54.001000 [ 642 ] DEBUG : No running containers for project: roottestbackuprestoreonclustercancelbackup-gw2 (cluster.py:879, cleanup) 2025-07-28 09:56:54.001000 [ 642 ] DEBUG : Trying to prune unused networks... (cluster.py:885, cleanup) 2025-07-28 09:56:54.018000 [ 642 ] DEBUG : Trying to prune unused images... (cluster.py:901, cleanup) 2025-07-28 09:56:54.018000 [ 642 ] DEBUG : Command:[docker image prune -f] (cluster.py:121, run_and_check) 2025-07-28 09:56:54.042000 [ 642 ] DEBUG : Stdout:Total reclaimed space: 0B (cluster.py:145, run_and_check) 2025-07-28 09:56:54.042000 [ 642 ] DEBUG : Images pruned (cluster.py:904, cleanup) 2025-07-28 09:56:54.042000 [ 642 ] DEBUG : Trying to prune unused volumes... (cluster.py:910, cleanup) 2025-07-28 09:56:54.043000 [ 642 ] DEBUG : Command:[docker volume ls | wc -l] (cluster.py:121, run_and_check) 2025-07-28 09:56:54.066000 [ 642 ] DEBUG : Stdout:1 (cluster.py:145, run_and_check) 2025-07-28 09:56:54.067000 [ 642 ] DEBUG : Volumes pruned: 1 (cluster.py:915, cleanup) 2025-07-28 09:56:54.067000 [ 642 ] DEBUG : Setup directory for instance: node1 (cluster.py:2758, start) 2025-07-28 09:56:54.068000 [ 642 ] DEBUG : Create directory for configuration generated in this helper (cluster.py:4628, create_dir) 2025-07-28 09:56:54.068000 [ 642 ] DEBUG : Create directory for common tests configuration (cluster.py:4633, create_dir) 2025-07-28 09:56:54.069000 [ 642 ] DEBUG : Copy common configuration from helpers (cluster.py:4653, create_dir) 2025-07-28 09:56:54.069000 [ 642 ] DEBUG : Generate and write macros file (cluster.py:4705, create_dir) 2025-07-28 09:56:54.070000 [ 642 ] DEBUG : Copy custom test config files ['/ClickHouse/tests/integration/test_backup_restore_on_cluster/configs/backups_disk.xml', '/ClickHouse/tests/integration/test_backup_restore_on_cluster/configs/cluster.xml', '/ClickHouse/tests/integration/test_backup_restore_on_cluster/configs/lesser_timeouts.xml', '/ClickHouse/tests/integration/test_backup_restore_on_cluster/configs/slow_backups.xml', '/ClickHouse/tests/integration/test_backup_restore_on_cluster/configs/shutdown_cancel_backups.xml'] to /ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/node1/configs/config.d (cluster.py:4741, create_dir) 2025-07-28 09:56:54.072000 [ 642 ] DEBUG : Setup database dir /ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/node1/database (cluster.py:4758, create_dir) 2025-07-28 09:56:54.072000 [ 642 ] DEBUG : Setup logs dir /ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/node1/logs (cluster.py:4769, create_dir) 2025-07-28 09:56:54.072000 [ 642 ] DEBUG : Entrypoint cmd: bash -c "trap 'pkill tail' INT TERM; clickhouse server --config-file=/etc/clickhouse-server/config.xml --log-file=/var/log/clickhouse-server/clickhouse-server.log --errorlog-file=/var/log/clickhouse-server/clickhouse-server.err.log --daemon -- ; coproc tail -f /dev/null; wait $$!" (cluster.py:4850, create_dir) 2025-07-28 09:56:54.072000 [ 642 ] INFO : external_dir_abs_path=/ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/backups (cluster.py:4879, create_dir) 2025-07-28 09:56:54.073000 [ 642 ] DEBUG : Setup directory for instance: node2 (cluster.py:2758, start) 2025-07-28 09:56:54.073000 [ 642 ] DEBUG : Create directory for configuration generated in this helper (cluster.py:4628, create_dir) 2025-07-28 09:56:54.074000 [ 642 ] DEBUG : Create directory for common tests configuration (cluster.py:4633, create_dir) 2025-07-28 09:56:54.074000 [ 642 ] DEBUG : Copy common configuration from helpers (cluster.py:4653, create_dir) 2025-07-28 09:56:54.075000 [ 642 ] DEBUG : Generate and write macros file (cluster.py:4705, create_dir) 2025-07-28 09:56:54.075000 [ 642 ] DEBUG : Copy custom test config files ['/ClickHouse/tests/integration/test_backup_restore_on_cluster/configs/backups_disk.xml', '/ClickHouse/tests/integration/test_backup_restore_on_cluster/configs/cluster.xml', '/ClickHouse/tests/integration/test_backup_restore_on_cluster/configs/lesser_timeouts.xml', '/ClickHouse/tests/integration/test_backup_restore_on_cluster/configs/slow_backups.xml', '/ClickHouse/tests/integration/test_backup_restore_on_cluster/configs/shutdown_cancel_backups.xml'] to /ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/node2/configs/config.d (cluster.py:4741, create_dir) 2025-07-28 09:56:54.076000 [ 642 ] DEBUG : Setup database dir /ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/node2/database (cluster.py:4758, create_dir) 2025-07-28 09:56:54.076000 [ 642 ] DEBUG : Setup logs dir /ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/node2/logs (cluster.py:4769, create_dir) 2025-07-28 09:56:54.077000 [ 642 ] DEBUG : Entrypoint cmd: bash -c "trap 'pkill tail' INT TERM; clickhouse server --config-file=/etc/clickhouse-server/config.xml --log-file=/var/log/clickhouse-server/clickhouse-server.log --errorlog-file=/var/log/clickhouse-server/clickhouse-server.err.log --daemon -- ; coproc tail -f /dev/null; wait $$!" (cluster.py:4850, create_dir) 2025-07-28 09:56:54.077000 [ 642 ] INFO : external_dir_abs_path=/ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/backups (cluster.py:4879, create_dir) 2025-07-28 09:56:54.077000 [ 642 ] DEBUG : Env {'ASAN_OPTIONS': 'use_sigaltstack=0', 'TSAN_OPTIONS': 'use_sigaltstack=0', 'CLICKHOUSE_WATCHDOG_ENABLE': '0', 'CLICKHOUSE_NATS_TLS_SECURE': '0', 'LLVM_PROFILE_FILE': '/var/lib/clickhouse/server_%h_%p_%m.profraw', 'keeper_binary': '/clickhouse', 'keeper_cmd_prefix': 'clickhouse keeper', 'image': 'altinityinfra/integration-test:5ccda723c1fc', 'user': '0', 'keeper_fs': 'bind', 'keeper_logs_dir1': '/ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/keeper1/log', 'keeper_config_dir1': '/ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/keeper1/config', 'keeper_db_dir1': '/ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/keeper1/coordination', 'keeper_logs_dir2': '/ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/keeper2/log', 'keeper_config_dir2': '/ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/keeper2/config', 'keeper_db_dir2': '/ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/keeper2/coordination', 'keeper_logs_dir3': '/ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/keeper3/log', 'keeper_config_dir3': '/ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/keeper3/config', 'keeper_db_dir3': '/ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/keeper3/coordination'} stored in /ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/.env (cluster.py:96, _create_env_file) 2025-07-28 09:56:54.078000 [ 642 ] DEBUG : Trying paths: ['/root/.docker/config.json', '/root/.dockercfg'] (config.py:21, find_config_file) 2025-07-28 09:56:54.078000 [ 642 ] DEBUG : No config file found (config.py:28, find_config_file) 2025-07-28 09:56:54.078000 [ 642 ] DEBUG : Trying paths: ['/root/.docker/config.json', '/root/.dockercfg'] (config.py:21, find_config_file) 2025-07-28 09:56:54.078000 [ 642 ] DEBUG : No config file found (config.py:28, find_config_file) 2025-07-28 09:56:54.088000 [ 642 ] DEBUG : http://localhost:None "GET /version HTTP/1.1" 200 826 (connectionpool.py:547, _make_request) 2025-07-28 09:56:54.089000 [ 642 ] DEBUG : Command:[docker compose --env-file /ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/.env --project-name roottestbackuprestoreonclustercancelbackup-gw2 --file /ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/node1/docker-compose.yml --file /ClickHouse/tests/integration/helpers/../../../tests/integration/compose/docker_compose_keeper.yml --file /ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/node2/docker-compose.yml pull] (cluster.py:121, run_and_check) 2025-07-28 09:57:04.488000 [ 642 ] DEBUG : Stderr: node2 Skipped - Image is already being pulled by zoo2 (cluster.py:147, run_and_check) 2025-07-28 09:57:04.488000 [ 642 ] DEBUG : Stderr: node1 Skipped - Image is already being pulled by zoo2 (cluster.py:147, run_and_check) 2025-07-28 09:57:04.488000 [ 642 ] DEBUG : Stderr: zoo3 Skipped - Image is already being pulled by zoo2 (cluster.py:147, run_and_check) 2025-07-28 09:57:04.489000 [ 642 ] DEBUG : Stderr: zoo1 Skipped - Image is already being pulled by zoo2 (cluster.py:147, run_and_check) 2025-07-28 09:57:04.489000 [ 642 ] DEBUG : Stderr: zoo2 Pulling (cluster.py:147, run_and_check) 2025-07-28 09:57:04.489000 [ 642 ] DEBUG : Stderr: zoo2 Pulled (cluster.py:147, run_and_check) 2025-07-28 09:57:04.489000 [ 642 ] DEBUG : Setup ZooKeeper (cluster.py:2799, start) 2025-07-28 09:57:04.489000 [ 642 ] DEBUG : Creating internal ZooKeeper dirs: ['/ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/keeper1/log', '/ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/keeper1/config', '/ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/keeper1/coordination', '/ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/keeper2/log', '/ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/keeper2/config', '/ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/keeper2/coordination', '/ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/keeper3/log', '/ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/keeper3/config', '/ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/keeper3/coordination'] (cluster.py:2800, start) 2025-07-28 09:57:04.491000 [ 642 ] DEBUG : Command:[docker compose --project-name roottestbackuprestoreonclustercancelbackup-gw2 --env-file /ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/.env --file /ClickHouse/tests/integration/helpers/../../../tests/integration/compose/docker_compose_keeper.yml --verbose up -d] (cluster.py:121, run_and_check) 2025-07-28 09:57:05.241000 [ 642 ] DEBUG : Stderr:time="2025-07-28T09:57:04Z" level=trace msg="Docker Desktop integration not enabled" (cluster.py:147, run_and_check) 2025-07-28 09:57:05.242000 [ 642 ] DEBUG : Stderr: Network roottestbackuprestoreonclustercancelbackup-gw2_default Creating (cluster.py:147, run_and_check) 2025-07-28 09:57:05.242000 [ 642 ] DEBUG : Stderr: Network roottestbackuprestoreonclustercancelbackup-gw2_default Created (cluster.py:147, run_and_check) 2025-07-28 09:57:05.242000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-zoo1-1 Creating (cluster.py:147, run_and_check) 2025-07-28 09:57:05.242000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-zoo2-1 Creating (cluster.py:147, run_and_check) 2025-07-28 09:57:05.242000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-zoo3-1 Creating (cluster.py:147, run_and_check) 2025-07-28 09:57:05.242000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-zoo2-1 Created (cluster.py:147, run_and_check) 2025-07-28 09:57:05.242000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-zoo1-1 Created (cluster.py:147, run_and_check) 2025-07-28 09:57:05.242000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-zoo3-1 Created (cluster.py:147, run_and_check) 2025-07-28 09:57:05.243000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-zoo1-1 Starting (cluster.py:147, run_and_check) 2025-07-28 09:57:05.243000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-zoo2-1 Starting (cluster.py:147, run_and_check) 2025-07-28 09:57:05.243000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-zoo3-1 Starting (cluster.py:147, run_and_check) 2025-07-28 09:57:05.243000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-zoo1-1 Started (cluster.py:147, run_and_check) 2025-07-28 09:57:05.243000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-zoo3-1 Started (cluster.py:147, run_and_check) 2025-07-28 09:57:05.243000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-zoo2-1 Started (cluster.py:147, run_and_check) 2025-07-28 09:57:05.243000 [ 642 ] DEBUG : Stderr:time="2025-07-28T09:57:05Z" level=debug msg="otel error" error="" (cluster.py:147, run_and_check) 2025-07-28 09:57:05.243000 [ 642 ] DEBUG : Stderr:time="2025-07-28T09:57:05Z" level=debug msg="otel error" error="" (cluster.py:147, run_and_check) 2025-07-28 09:57:05.244000 [ 642 ] DEBUG : Wait ZooKeeper to start (cluster.py:2436, wait_zookeeper_to_start) 2025-07-28 09:57:05.244000 [ 642 ] DEBUG : get_instance_ip instance_name=zoo1 (cluster.py:2005, get_instance_ip) 2025-07-28 09:57:05.246000 [ 642 ] DEBUG : http://localhost:None "GET /v1.46/containers/roottestbackuprestoreonclustercancelbackup-gw2-zoo1-1/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:05.247000 [ 642 ] DEBUG : get_kazoo_client: zoo1, ip:172.16.1.2, port:2181, use_ssl:False (cluster.py:3312, get_kazoo_client) 2025-07-28 09:57:05.249000 [ 642 ] INFO : Connecting to 172.16.1.2(172.16.1.2):2181, use_ssl: False (connection.py:650, _connect) 2025-07-28 09:57:05.249000 [ 642 ] WARNING : Connection dropped: socket connection error: Connection refused (connection.py:622, _connect_attempt) 2025-07-28 09:57:05.337000 [ 642 ] INFO : Connecting to 172.16.1.2(172.16.1.2):2181, use_ssl: False (connection.py:650, _connect) 2025-07-28 09:57:05.337000 [ 642 ] WARNING : Connection dropped: socket connection error: Connection refused (connection.py:622, _connect_attempt) 2025-07-28 09:57:05.511000 [ 642 ] INFO : Connecting to 172.16.1.2(172.16.1.2):2181, use_ssl: False (connection.py:650, _connect) 2025-07-28 09:57:05.511000 [ 642 ] WARNING : Connection dropped: socket connection error: Connection refused (connection.py:622, _connect_attempt) 2025-07-28 09:57:05.941000 [ 642 ] INFO : Connecting to 172.16.1.2(172.16.1.2):2181, use_ssl: False (connection.py:650, _connect) 2025-07-28 09:57:05.942000 [ 642 ] WARNING : Connection dropped: socket connection error: Connection refused (connection.py:622, _connect_attempt) 2025-07-28 09:57:07.090000 [ 642 ] INFO : Connecting to 172.16.1.2(172.16.1.2):2181, use_ssl: False (connection.py:650, _connect) 2025-07-28 09:57:07.090000 [ 642 ] WARNING : Connection dropped: socket connection error: Connection refused (connection.py:622, _connect_attempt) 2025-07-28 09:57:10.290000 [ 642 ] INFO : Connecting to 172.16.1.2(172.16.1.2):2181, use_ssl: False (connection.py:650, _connect) 2025-07-28 09:57:10.290000 [ 642 ] DEBUG : Sending request(xid=None): Connect(protocol_version=0, last_zxid_seen=0, time_out=30000, session_id=0, passwd=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', read_only=None) (connection.py:312, _submit) 2025-07-28 09:57:10.299000 [ 642 ] INFO : Zookeeper connection established, state: CONNECTED (client.py:532, _session_callback) 2025-07-28 09:57:10.300000 [ 642 ] DEBUG : Sending request(xid=1): GetChildren(path='/', watcher=None) (connection.py:312, _submit) 2025-07-28 09:57:10.301000 [ 642 ] DEBUG : Received response(xid=1): ['keeper'] (connection.py:410, _read_response) 2025-07-28 09:57:10.301000 [ 642 ] DEBUG : Sending request(xid=2): Close() (connection.py:312, _submit) 2025-07-28 09:57:10.307000 [ 642 ] WARNING : Connection dropped: socket connection broken (connection.py:622, _connect_attempt) 2025-07-28 09:57:10.307000 [ 642 ] WARNING : Transition to CONNECTING (connection.py:626, _connect_attempt) 2025-07-28 09:57:10.307000 [ 642 ] INFO : Zookeeper connection lost (client.py:543, _session_callback) 2025-07-28 09:57:10.389000 [ 642 ] WARNING : Failed connecting to Zookeeper within the connection retry policy. (connection.py:515, zk_loop) 2025-07-28 09:57:10.389000 [ 642 ] INFO : Zookeeper session closed, state: CLOSED (client.py:537, _session_callback) 2025-07-28 09:57:10.389000 [ 642 ] DEBUG : get_instance_ip instance_name=zoo2 (cluster.py:2005, get_instance_ip) 2025-07-28 09:57:10.392000 [ 642 ] DEBUG : http://localhost:None "GET /v1.46/containers/roottestbackuprestoreonclustercancelbackup-gw2-zoo2-1/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:10.392000 [ 642 ] DEBUG : get_kazoo_client: zoo2, ip:172.16.1.3, port:2181, use_ssl:False (cluster.py:3312, get_kazoo_client) 2025-07-28 09:57:10.393000 [ 642 ] INFO : Connecting to 172.16.1.3(172.16.1.3):2181, use_ssl: False (connection.py:650, _connect) 2025-07-28 09:57:10.394000 [ 642 ] DEBUG : Sending request(xid=None): Connect(protocol_version=0, last_zxid_seen=0, time_out=30000, session_id=0, passwd=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', read_only=None) (connection.py:312, _submit) 2025-07-28 09:57:10.402000 [ 642 ] INFO : Zookeeper connection established, state: CONNECTED (client.py:532, _session_callback) 2025-07-28 09:57:10.402000 [ 642 ] DEBUG : Sending request(xid=1): GetChildren(path='/', watcher=None) (connection.py:312, _submit) 2025-07-28 09:57:10.403000 [ 642 ] DEBUG : Received response(xid=1): ['keeper'] (connection.py:410, _read_response) 2025-07-28 09:57:10.404000 [ 642 ] DEBUG : Sending request(xid=2): Close() (connection.py:312, _submit) 2025-07-28 09:57:10.409000 [ 642 ] WARNING : Connection dropped: socket connection broken (connection.py:622, _connect_attempt) 2025-07-28 09:57:10.409000 [ 642 ] WARNING : Transition to CONNECTING (connection.py:626, _connect_attempt) 2025-07-28 09:57:10.410000 [ 642 ] INFO : Zookeeper connection lost (client.py:543, _session_callback) 2025-07-28 09:57:10.510000 [ 642 ] WARNING : Failed connecting to Zookeeper within the connection retry policy. (connection.py:515, zk_loop) 2025-07-28 09:57:10.510000 [ 642 ] INFO : Zookeeper session closed, state: CLOSED (client.py:537, _session_callback) 2025-07-28 09:57:10.511000 [ 642 ] DEBUG : get_instance_ip instance_name=zoo3 (cluster.py:2005, get_instance_ip) 2025-07-28 09:57:10.513000 [ 642 ] DEBUG : http://localhost:None "GET /v1.46/containers/roottestbackuprestoreonclustercancelbackup-gw2-zoo3-1/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:10.513000 [ 642 ] DEBUG : get_kazoo_client: zoo3, ip:172.16.1.4, port:2181, use_ssl:False (cluster.py:3312, get_kazoo_client) 2025-07-28 09:57:10.514000 [ 642 ] INFO : Connecting to 172.16.1.4(172.16.1.4):2181, use_ssl: False (connection.py:650, _connect) 2025-07-28 09:57:10.515000 [ 642 ] DEBUG : Sending request(xid=None): Connect(protocol_version=0, last_zxid_seen=0, time_out=30000, session_id=0, passwd=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', read_only=None) (connection.py:312, _submit) 2025-07-28 09:57:10.519000 [ 642 ] INFO : Zookeeper connection established, state: CONNECTED (client.py:532, _session_callback) 2025-07-28 09:57:10.519000 [ 642 ] DEBUG : Sending request(xid=1): GetChildren(path='/', watcher=None) (connection.py:312, _submit) 2025-07-28 09:57:10.520000 [ 642 ] DEBUG : Received response(xid=1): ['keeper'] (connection.py:410, _read_response) 2025-07-28 09:57:10.521000 [ 642 ] DEBUG : Sending request(xid=2): Close() (connection.py:312, _submit) 2025-07-28 09:57:10.524000 [ 642 ] WARNING : Connection dropped: socket connection broken (connection.py:622, _connect_attempt) 2025-07-28 09:57:10.524000 [ 642 ] WARNING : Transition to CONNECTING (connection.py:626, _connect_attempt) 2025-07-28 09:57:10.524000 [ 642 ] INFO : Zookeeper connection lost (client.py:543, _session_callback) 2025-07-28 09:57:10.607000 [ 642 ] WARNING : Failed connecting to Zookeeper within the connection retry policy. (connection.py:515, zk_loop) 2025-07-28 09:57:10.607000 [ 642 ] INFO : Zookeeper session closed, state: CLOSED (client.py:537, _session_callback) 2025-07-28 09:57:10.607000 [ 642 ] DEBUG : All instances of ZooKeeper started: ('zoo1', 'zoo2', 'zoo3') (cluster.py:2452, wait_zookeeper_nodes_to_start) 2025-07-28 09:57:10.608000 [ 642 ] DEBUG : ('Trying to create ClickHouse instance by command %s', 'docker compose --env-file /ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/.env --project-name roottestbackuprestoreonclustercancelbackup-gw2 --file /ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/node1/docker-compose.yml --file /ClickHouse/tests/integration/helpers/../../../tests/integration/compose/docker_compose_keeper.yml --file /ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/node2/docker-compose.yml up -d --no-recreate') (cluster.py:3139, start) 2025-07-28 09:57:10.608000 [ 642 ] DEBUG : Command:[docker compose --env-file /ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/.env --project-name roottestbackuprestoreonclustercancelbackup-gw2 --file /ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/node1/docker-compose.yml --file /ClickHouse/tests/integration/helpers/../../../tests/integration/compose/docker_compose_keeper.yml --file /ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/node2/docker-compose.yml up -d --no-recreate] (cluster.py:121, run_and_check) 2025-07-28 09:57:11.043000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-zoo3-1 Running (cluster.py:147, run_and_check) 2025-07-28 09:57:11.043000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-zoo2-1 Running (cluster.py:147, run_and_check) 2025-07-28 09:57:11.043000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-zoo1-1 Running (cluster.py:147, run_and_check) 2025-07-28 09:57:11.043000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-node1-1 Creating (cluster.py:147, run_and_check) 2025-07-28 09:57:11.043000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-node2-1 Creating (cluster.py:147, run_and_check) 2025-07-28 09:57:11.044000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-node2-1 Created (cluster.py:147, run_and_check) 2025-07-28 09:57:11.044000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-node1-1 Created (cluster.py:147, run_and_check) 2025-07-28 09:57:11.044000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-node1-1 Starting (cluster.py:147, run_and_check) 2025-07-28 09:57:11.044000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-node2-1 Starting (cluster.py:147, run_and_check) 2025-07-28 09:57:11.044000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-node1-1 Started (cluster.py:147, run_and_check) 2025-07-28 09:57:11.044000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-node2-1 Started (cluster.py:147, run_and_check) 2025-07-28 09:57:11.044000 [ 642 ] DEBUG : ClickHouse instance created (cluster.py:3147, start) 2025-07-28 09:57:11.044000 [ 642 ] DEBUG : get_instance_ip instance_name=node1 (cluster.py:2005, get_instance_ip) 2025-07-28 09:57:11.046000 [ 642 ] DEBUG : http://localhost:None "GET /v1.46/containers/roottestbackuprestoreonclustercancelbackup-gw2-node1-1/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:11.046000 [ 642 ] DEBUG : get_instance_ip instance_name=node1 (cluster.py:2015, get_instance_global_ipv6) 2025-07-28 09:57:11.048000 [ 642 ] DEBUG : http://localhost:None "GET /v1.46/containers/roottestbackuprestoreonclustercancelbackup-gw2-node1-1/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:11.048000 [ 642 ] DEBUG : Waiting for ClickHouse start in node1, ip: 172.16.1.5... (cluster.py:3155, start) 2025-07-28 09:57:11.050000 [ 642 ] DEBUG : http://localhost:None "GET /v1.46/containers/roottestbackuprestoreonclustercancelbackup-gw2-node1-1/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:11.052000 [ 642 ] DEBUG : http://localhost:None "GET /v1.46/containers/e96c55a4717de478da77ca8af4a96908805e1c94c51947900283b5ed82be4fa3/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:11.155000 [ 642 ] DEBUG : http://localhost:None "GET /v1.46/containers/e96c55a4717de478da77ca8af4a96908805e1c94c51947900283b5ed82be4fa3/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:11.258000 [ 642 ] DEBUG : http://localhost:None "GET /v1.46/containers/e96c55a4717de478da77ca8af4a96908805e1c94c51947900283b5ed82be4fa3/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:11.361000 [ 642 ] DEBUG : http://localhost:None "GET /v1.46/containers/e96c55a4717de478da77ca8af4a96908805e1c94c51947900283b5ed82be4fa3/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:11.463000 [ 642 ] DEBUG : http://localhost:None "GET /v1.46/containers/e96c55a4717de478da77ca8af4a96908805e1c94c51947900283b5ed82be4fa3/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:11.566000 [ 642 ] DEBUG : http://localhost:None "GET /v1.46/containers/e96c55a4717de478da77ca8af4a96908805e1c94c51947900283b5ed82be4fa3/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:11.669000 [ 642 ] DEBUG : http://localhost:None "GET /v1.46/containers/e96c55a4717de478da77ca8af4a96908805e1c94c51947900283b5ed82be4fa3/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:11.772000 [ 642 ] DEBUG : http://localhost:None "GET /v1.46/containers/e96c55a4717de478da77ca8af4a96908805e1c94c51947900283b5ed82be4fa3/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:11.876000 [ 642 ] DEBUG : http://localhost:None "GET /v1.46/containers/e96c55a4717de478da77ca8af4a96908805e1c94c51947900283b5ed82be4fa3/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:11.979000 [ 642 ] DEBUG : http://localhost:None "GET /v1.46/containers/e96c55a4717de478da77ca8af4a96908805e1c94c51947900283b5ed82be4fa3/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:12.082000 [ 642 ] DEBUG : http://localhost:None "GET /v1.46/containers/e96c55a4717de478da77ca8af4a96908805e1c94c51947900283b5ed82be4fa3/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:12.185000 [ 642 ] DEBUG : http://localhost:None "GET /v1.46/containers/e96c55a4717de478da77ca8af4a96908805e1c94c51947900283b5ed82be4fa3/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:12.288000 [ 642 ] DEBUG : http://localhost:None "GET /v1.46/containers/e96c55a4717de478da77ca8af4a96908805e1c94c51947900283b5ed82be4fa3/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:12.392000 [ 642 ] DEBUG : http://localhost:None "GET /v1.46/containers/e96c55a4717de478da77ca8af4a96908805e1c94c51947900283b5ed82be4fa3/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:12.495000 [ 642 ] DEBUG : http://localhost:None "GET /v1.46/containers/e96c55a4717de478da77ca8af4a96908805e1c94c51947900283b5ed82be4fa3/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:12.598000 [ 642 ] DEBUG : http://localhost:None "GET /v1.46/containers/e96c55a4717de478da77ca8af4a96908805e1c94c51947900283b5ed82be4fa3/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:12.701000 [ 642 ] DEBUG : http://localhost:None "GET /v1.46/containers/e96c55a4717de478da77ca8af4a96908805e1c94c51947900283b5ed82be4fa3/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:12.805000 [ 642 ] DEBUG : http://localhost:None "GET /v1.46/containers/e96c55a4717de478da77ca8af4a96908805e1c94c51947900283b5ed82be4fa3/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:12.908000 [ 642 ] DEBUG : http://localhost:None "GET /v1.46/containers/e96c55a4717de478da77ca8af4a96908805e1c94c51947900283b5ed82be4fa3/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:13.011000 [ 642 ] DEBUG : http://localhost:None "GET /v1.46/containers/e96c55a4717de478da77ca8af4a96908805e1c94c51947900283b5ed82be4fa3/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:13.114000 [ 642 ] DEBUG : http://localhost:None "GET /v1.46/containers/e96c55a4717de478da77ca8af4a96908805e1c94c51947900283b5ed82be4fa3/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:13.217000 [ 642 ] DEBUG : http://localhost:None "GET /v1.46/containers/e96c55a4717de478da77ca8af4a96908805e1c94c51947900283b5ed82be4fa3/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:13.319000 [ 642 ] DEBUG : http://localhost:None "GET /v1.46/containers/e96c55a4717de478da77ca8af4a96908805e1c94c51947900283b5ed82be4fa3/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:13.422000 [ 642 ] DEBUG : http://localhost:None "GET /v1.46/containers/e96c55a4717de478da77ca8af4a96908805e1c94c51947900283b5ed82be4fa3/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:13.525000 [ 642 ] DEBUG : http://localhost:None "GET /v1.46/containers/e96c55a4717de478da77ca8af4a96908805e1c94c51947900283b5ed82be4fa3/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:13.526000 [ 642 ] DEBUG : ClickHouse node1 started (cluster.py:3159, start) 2025-07-28 09:57:13.526000 [ 642 ] DEBUG : get_instance_ip instance_name=node2 (cluster.py:2005, get_instance_ip) 2025-07-28 09:57:13.528000 [ 642 ] DEBUG : http://localhost:None "GET /v1.46/containers/roottestbackuprestoreonclustercancelbackup-gw2-node2-1/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:13.528000 [ 642 ] DEBUG : get_instance_ip instance_name=node2 (cluster.py:2015, get_instance_global_ipv6) 2025-07-28 09:57:13.530000 [ 642 ] DEBUG : http://localhost:None "GET /v1.46/containers/roottestbackuprestoreonclustercancelbackup-gw2-node2-1/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:13.530000 [ 642 ] DEBUG : Waiting for ClickHouse start in node2, ip: 172.16.1.6... (cluster.py:3155, start) 2025-07-28 09:57:13.531000 [ 642 ] DEBUG : http://localhost:None "GET /v1.46/containers/roottestbackuprestoreonclustercancelbackup-gw2-node2-1/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:13.533000 [ 642 ] DEBUG : http://localhost:None "GET /v1.46/containers/8ed421a3b3034fed8a3b9d3367856f20676cdbd6c3d45ef2635631ed72a9c4e6/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:13.534000 [ 642 ] DEBUG : ClickHouse node2 started (cluster.py:3159, start) ----------------------------- Captured stdout call ----------------------------- Using node2 as initiator Sleeping 2.2360967554927753 seconds Waiting for number of system processes = 1+ Got 1 system processes for backup 8d5e1b890ed045e6a11c8a3f7911a9b2 after waiting 0 seconds node1: Restarting... node1: Restarted Waiting for number of system processes = 0 Got 0 system processes for backup 8d5e1b890ed045e6a11c8a3f7911a9b2 after waiting 0 seconds node1: Found errors: ['NETLINK_ERROR'] NO_ELEMENTS_IN_CONFIG Certificate file is not set. NETLINK_ERROR Can\'t receive Netlink response: error -2 ------------------------------ Captured log call ------------------------------- 2025-07-28 09:57:14.537000 [ 642 ] DEBUG : Executing query SELECT name FROM system.zookeeper WHERE path = '/clickhouse/backups' AND NOT (name == 'alive_tracker') on node1 (cluster.py:3648, query) 2025-07-28 09:57:14.803000 [ 642 ] DEBUG : Executing query CREATE TABLE tbl ON CLUSTER 'cluster' (x UInt64) ENGINE=ReplicatedMergeTree('/clickhouse/tables/tbl/', '{replica}') ORDER BY tuple() PARTITION BY x%10 on node1 (cluster.py:3648, query) 2025-07-28 09:57:15.219000 [ 642 ] DEBUG : Executing query INSERT INTO tbl SELECT number FROM numbers(10) on node1 (cluster.py:3648, query) 2025-07-28 09:57:15.735000 [ 642 ] DEBUG : Executing query BACKUP TABLE tbl ON CLUSTER 'cluster' TO Disk('backups', '8d5e1b890ed045e6a11c8a3f7911a9b2') SETTINGS id='8d5e1b890ed045e6a11c8a3f7911a9b2' ASYNC on node2 (cluster.py:3648, query) 2025-07-28 09:57:16.051000 [ 642 ] DEBUG : Executing query SELECT status FROM system.backups WHERE id='8d5e1b890ed045e6a11c8a3f7911a9b2' on node2 (cluster.py:3648, query) 2025-07-28 09:57:16.317000 [ 642 ] DEBUG : Executing query SELECT count() FROM system.processes WHERE (query_kind='Backup') AND (query LIKE '%8d5e1b890ed045e6a11c8a3f7911a9b2%') on node2 (cluster.py:3648, query) 2025-07-28 09:57:18.869000 [ 642 ] DEBUG : Executing query SELECT count() FROM system.processes WHERE (query_kind='Backup') AND (query LIKE '%8d5e1b890ed045e6a11c8a3f7911a9b2%') on node1 (cluster.py:3648, query) 2025-07-28 09:57:19.186000 [ 642 ] DEBUG : run container_id:roottestbackuprestoreonclustercancelbackup-gw2-node1-1 detach:False nothrow:True cmd: ['bash', '-c', 'ps -C clickhouse'] (cluster.py:2051, exec_in_container) 2025-07-28 09:57:19.186000 [ 642 ] DEBUG : Command:[docker exec -u root roottestbackuprestoreonclustercancelbackup-gw2-node1-1 bash -c ps -C clickhouse] (cluster.py:121, run_and_check) 2025-07-28 09:57:19.242000 [ 642 ] DEBUG : Stdout: PID TTY TIME CMD (cluster.py:145, run_and_check) 2025-07-28 09:57:19.242000 [ 642 ] DEBUG : Stdout: 8 ? 00:00:03 clickhouse (cluster.py:145, run_and_check) 2025-07-28 09:57:19.242000 [ 642 ] DEBUG : run container_id:roottestbackuprestoreonclustercancelbackup-gw2-node1-1 detach:False nothrow:False cmd: ['bash', '-c', 'pkill clickhouse'] (cluster.py:2051, exec_in_container) 2025-07-28 09:57:19.242000 [ 642 ] DEBUG : Command:[docker exec -u root roottestbackuprestoreonclustercancelbackup-gw2-node1-1 bash -c pkill clickhouse] (cluster.py:121, run_and_check) 2025-07-28 09:57:19.292000 [ 642 ] DEBUG : run container_id:roottestbackuprestoreonclustercancelbackup-gw2-node1-1 detach:False nothrow:False cmd: ['bash', '-c', "ps ax | grep 'clickhouse' | grep -v 'grep' | grep -v 'coproc' | grep -v 'bash -c' | awk '{print $1}'"] (cluster.py:2051, exec_in_container) 2025-07-28 09:57:19.293000 [ 642 ] DEBUG : Command:[docker exec roottestbackuprestoreonclustercancelbackup-gw2-node1-1 bash -c ps ax | grep 'clickhouse' | grep -v 'grep' | grep -v 'coproc' | grep -v 'bash -c' | awk '{print $1}'] (cluster.py:121, run_and_check) 2025-07-28 09:57:19.346000 [ 642 ] DEBUG : Stdout:8 (cluster.py:145, run_and_check) 2025-07-28 09:57:20.347000 [ 642 ] DEBUG : run container_id:roottestbackuprestoreonclustercancelbackup-gw2-node1-1 detach:False nothrow:False cmd: ['bash', '-c', "ps ax | grep 'clickhouse' | grep -v 'grep' | grep -v 'coproc' | grep -v 'bash -c' | awk '{print $1}'"] (cluster.py:2051, exec_in_container) 2025-07-28 09:57:20.347000 [ 642 ] DEBUG : Command:[docker exec roottestbackuprestoreonclustercancelbackup-gw2-node1-1 bash -c ps ax | grep 'clickhouse' | grep -v 'grep' | grep -v 'coproc' | grep -v 'bash -c' | awk '{print $1}'] (cluster.py:121, run_and_check) 2025-07-28 09:57:20.403000 [ 642 ] DEBUG : Stdout:8 (cluster.py:145, run_and_check) 2025-07-28 09:57:21.404000 [ 642 ] DEBUG : run container_id:roottestbackuprestoreonclustercancelbackup-gw2-node1-1 detach:False nothrow:False cmd: ['bash', '-c', "ps ax | grep 'clickhouse' | grep -v 'grep' | grep -v 'coproc' | grep -v 'bash -c' | awk '{print $1}'"] (cluster.py:2051, exec_in_container) 2025-07-28 09:57:21.405000 [ 642 ] DEBUG : Command:[docker exec roottestbackuprestoreonclustercancelbackup-gw2-node1-1 bash -c ps ax | grep 'clickhouse' | grep -v 'grep' | grep -v 'coproc' | grep -v 'bash -c' | awk '{print $1}'] (cluster.py:121, run_and_check) 2025-07-28 09:57:21.451000 [ 642 ] DEBUG : Stdout:8 (cluster.py:145, run_and_check) 2025-07-28 09:57:22.452000 [ 642 ] DEBUG : run container_id:roottestbackuprestoreonclustercancelbackup-gw2-node1-1 detach:False nothrow:False cmd: ['bash', '-c', "ps ax | grep 'clickhouse' | grep -v 'grep' | grep -v 'coproc' | grep -v 'bash -c' | awk '{print $1}'"] (cluster.py:2051, exec_in_container) 2025-07-28 09:57:22.453000 [ 642 ] DEBUG : Command:[docker exec roottestbackuprestoreonclustercancelbackup-gw2-node1-1 bash -c ps ax | grep 'clickhouse' | grep -v 'grep' | grep -v 'coproc' | grep -v 'bash -c' | awk '{print $1}'] (cluster.py:121, run_and_check) 2025-07-28 09:57:22.496000 [ 642 ] DEBUG : Stdout:8 (cluster.py:145, run_and_check) 2025-07-28 09:57:23.497000 [ 642 ] DEBUG : run container_id:roottestbackuprestoreonclustercancelbackup-gw2-node1-1 detach:False nothrow:False cmd: ['bash', '-c', "ps ax | grep 'clickhouse' | grep -v 'grep' | grep -v 'coproc' | grep -v 'bash -c' | awk '{print $1}'"] (cluster.py:2051, exec_in_container) 2025-07-28 09:57:23.498000 [ 642 ] DEBUG : Command:[docker exec roottestbackuprestoreonclustercancelbackup-gw2-node1-1 bash -c ps ax | grep 'clickhouse' | grep -v 'grep' | grep -v 'coproc' | grep -v 'bash -c' | awk '{print $1}'] (cluster.py:121, run_and_check) 2025-07-28 09:57:23.545000 [ 642 ] DEBUG : Stdout:8 (cluster.py:145, run_and_check) 2025-07-28 09:57:24.546000 [ 642 ] DEBUG : run container_id:roottestbackuprestoreonclustercancelbackup-gw2-node1-1 detach:False nothrow:False cmd: ['bash', '-c', "ps ax | grep 'clickhouse' | grep -v 'grep' | grep -v 'coproc' | grep -v 'bash -c' | awk '{print $1}'"] (cluster.py:2051, exec_in_container) 2025-07-28 09:57:24.547000 [ 642 ] DEBUG : Command:[docker exec roottestbackuprestoreonclustercancelbackup-gw2-node1-1 bash -c ps ax | grep 'clickhouse' | grep -v 'grep' | grep -v 'coproc' | grep -v 'bash -c' | awk '{print $1}'] (cluster.py:121, run_and_check) 2025-07-28 09:57:24.592000 [ 642 ] DEBUG : Stdout:8 (cluster.py:145, run_and_check) 2025-07-28 09:57:25.593000 [ 642 ] DEBUG : run container_id:roottestbackuprestoreonclustercancelbackup-gw2-node1-1 detach:False nothrow:False cmd: ['bash', '-c', "ps ax | grep 'clickhouse' | grep -v 'grep' | grep -v 'coproc' | grep -v 'bash -c' | awk '{print $1}'"] (cluster.py:2051, exec_in_container) 2025-07-28 09:57:25.594000 [ 642 ] DEBUG : Command:[docker exec roottestbackuprestoreonclustercancelbackup-gw2-node1-1 bash -c ps ax | grep 'clickhouse' | grep -v 'grep' | grep -v 'coproc' | grep -v 'bash -c' | awk '{print $1}'] (cluster.py:121, run_and_check) 2025-07-28 09:57:25.640000 [ 642 ] DEBUG : Stdout:8 (cluster.py:145, run_and_check) 2025-07-28 09:57:26.640000 [ 642 ] DEBUG : run container_id:roottestbackuprestoreonclustercancelbackup-gw2-node1-1 detach:False nothrow:False cmd: ['bash', '-c', "ps ax | grep 'clickhouse' | grep -v 'grep' | grep -v 'coproc' | grep -v 'bash -c' | awk '{print $1}'"] (cluster.py:2051, exec_in_container) 2025-07-28 09:57:26.641000 [ 642 ] DEBUG : Command:[docker exec roottestbackuprestoreonclustercancelbackup-gw2-node1-1 bash -c ps ax | grep 'clickhouse' | grep -v 'grep' | grep -v 'coproc' | grep -v 'bash -c' | awk '{print $1}'] (cluster.py:121, run_and_check) 2025-07-28 09:57:26.698000 [ 642 ] DEBUG : run container_id:roottestbackuprestoreonclustercancelbackup-gw2-node1-1 detach:False nothrow:False cmd: ['bash', '-c', "ps ax | grep 'clickhouse' | grep -v 'grep' | grep -v 'coproc' | grep -v 'bash -c' | awk '{print $1}'"] (cluster.py:2051, exec_in_container) 2025-07-28 09:57:26.698000 [ 642 ] DEBUG : Command:[docker exec roottestbackuprestoreonclustercancelbackup-gw2-node1-1 bash -c ps ax | grep 'clickhouse' | grep -v 'grep' | grep -v 'coproc' | grep -v 'bash -c' | awk '{print $1}'] (cluster.py:121, run_and_check) 2025-07-28 09:57:26.747000 [ 642 ] DEBUG : No clickhouse process running. Start new one. (cluster.py:4014, start_clickhouse) 2025-07-28 09:57:26.750000 [ 642 ] DEBUG : http://localhost:None "POST /v1.46/containers/roottestbackuprestoreonclustercancelbackup-gw2-node1-1/exec HTTP/1.1" 201 74 (connectionpool.py:547, _make_request) 2025-07-28 09:57:26.776000 [ 642 ] DEBUG : http://localhost:None "POST /v1.46/exec/4f5a6bbabb2a5a5a41fc6da433dd9374cbd5cfbe416069a45c68ad97b402f85d/start HTTP/1.1" 200 0 (connectionpool.py:547, _make_request) 2025-07-28 09:57:26.779000 [ 642 ] DEBUG : http://localhost:None "GET /v1.46/exec/4f5a6bbabb2a5a5a41fc6da433dd9374cbd5cfbe416069a45c68ad97b402f85d/json HTTP/1.1" 200 585 (connectionpool.py:547, _make_request) 2025-07-28 09:57:27.781000 [ 642 ] DEBUG : run container_id:roottestbackuprestoreonclustercancelbackup-gw2-node1-1 detach:False nothrow:False cmd: ['bash', '-c', "ps ax | grep 'clickhouse' | grep -v 'grep' | grep -v 'coproc' | grep -v 'bash -c' | awk '{print $1}'"] (cluster.py:2051, exec_in_container) 2025-07-28 09:57:27.781000 [ 642 ] DEBUG : Command:[docker exec roottestbackuprestoreonclustercancelbackup-gw2-node1-1 bash -c ps ax | grep 'clickhouse' | grep -v 'grep' | grep -v 'coproc' | grep -v 'bash -c' | awk '{print $1}'] (cluster.py:121, run_and_check) 2025-07-28 09:57:27.837000 [ 642 ] DEBUG : Stdout:825 (cluster.py:145, run_and_check) 2025-07-28 09:57:27.837000 [ 642 ] DEBUG : Clickhouse process running. (cluster.py:4028, start_clickhouse) 2025-07-28 09:57:27.838000 [ 642 ] DEBUG : run container_id:roottestbackuprestoreonclustercancelbackup-gw2-node1-1 detach:False nothrow:False cmd: ['bash', '-c', "ps ax | grep 'clickhouse' | grep -v 'grep' | grep -v 'coproc' | grep -v 'bash -c' | awk '{print $1}'"] (cluster.py:2051, exec_in_container) 2025-07-28 09:57:27.838000 [ 642 ] DEBUG : Command:[docker exec roottestbackuprestoreonclustercancelbackup-gw2-node1-1 bash -c ps ax | grep 'clickhouse' | grep -v 'grep' | grep -v 'coproc' | grep -v 'bash -c' | awk '{print $1}'] (cluster.py:121, run_and_check) 2025-07-28 09:57:27.887000 [ 642 ] DEBUG : Stdout:825 (cluster.py:145, run_and_check) 2025-07-28 09:57:27.887000 [ 642 ] DEBUG : Executing query select 20 on node1 (cluster.py:3648, query) 2025-07-28 09:57:28.604000 [ 642 ] DEBUG : Executing query select 20 on node1 (cluster.py:3648, query) 2025-07-28 09:57:29.320000 [ 642 ] DEBUG : Executing query select 20 on node1 (cluster.py:3648, query) 2025-07-28 09:57:30.037000 [ 642 ] DEBUG : Executing query select 20 on node1 (cluster.py:3648, query) 2025-07-28 09:57:30.303000 [ 642 ] DEBUG : Executing query SELECT count() FROM system.processes WHERE (query_kind='Backup') AND (query LIKE '%8d5e1b890ed045e6a11c8a3f7911a9b2%') on node1 (cluster.py:3648, query) 2025-07-28 09:57:30.669000 [ 642 ] DEBUG : Executing query SELECT count() FROM system.processes WHERE (query_kind='Backup') AND (query LIKE '%8d5e1b890ed045e6a11c8a3f7911a9b2%') on node2 (cluster.py:3648, query) 2025-07-28 09:57:30.935000 [ 642 ] DEBUG : Executing query SELECT status FROM system.backups WHERE id='8d5e1b890ed045e6a11c8a3f7911a9b2' on node2 (cluster.py:3648, query) 2025-07-28 09:57:31.200000 [ 642 ] DEBUG : Executing query SELECT error FROM system.backups WHERE id='8d5e1b890ed045e6a11c8a3f7911a9b2' on node2 (cluster.py:3648, query) 2025-07-28 09:57:31.467000 [ 642 ] DEBUG : Executing query SYSTEM FLUSH LOGS on node2 (cluster.py:3648, query) 2025-07-28 09:57:32.435000 [ 642 ] DEBUG : Executing query SELECT status FROM system.backup_log WHERE id='8d5e1b890ed045e6a11c8a3f7911a9b2' ORDER BY status on node2 (cluster.py:3648, query) 2025-07-28 09:57:32.751000 [ 642 ] DEBUG : Executing query SELECT name FROM system.zookeeper WHERE path = '/clickhouse/backups' AND NOT (name == 'alive_tracker') on node1 (cluster.py:3648, query) 2025-07-28 09:57:33.017000 [ 642 ] DEBUG : Executing query SELECT name FROM system.errors WHERE last_error_time >= toDateTime('2025-07-28 09:57:14') AND NOT ((name == 'KEEPER_EXCEPTION') AND (last_error_message LIKE '%Fault injection%')) AND NOT (name == 'NO_ELEMENTS_IN_CONFIG') on node1 (cluster.py:3648, query) 2025-07-28 09:57:33.283000 [ 642 ] DEBUG : Executing query SELECT name, last_error_message FROM system.errors WHERE last_error_time >= toDateTime('2025-07-28 09:57:14') on node1 (cluster.py:3648, query) ---------------------------- Captured log teardown ----------------------------- 2025-07-28 09:57:33.627000 [ 642 ] DEBUG : Executing query DROP TABLE IF EXISTS tbl ON CLUSTER 'cluster' SYNC on node1 (cluster.py:3648, query) 2025-07-28 09:57:34.093000 [ 642 ] DEBUG : Command:[docker compose --env-file /ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/.env --project-name roottestbackuprestoreonclustercancelbackup-gw2 --file /ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/node1/docker-compose.yml --file /ClickHouse/tests/integration/helpers/../../../tests/integration/compose/docker_compose_keeper.yml --file /ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/node2/docker-compose.yml stop --timeout 20] (cluster.py:121, run_and_check) 2025-07-28 09:57:35.120000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-node1-1 Stopping (cluster.py:147, run_and_check) 2025-07-28 09:57:35.120000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-node2-1 Stopping (cluster.py:147, run_and_check) 2025-07-28 09:57:35.120000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-node1-1 Stopped (cluster.py:147, run_and_check) 2025-07-28 09:57:35.120000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-node2-1 Stopped (cluster.py:147, run_and_check) 2025-07-28 09:57:35.120000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-zoo2-1 Stopping (cluster.py:147, run_and_check) 2025-07-28 09:57:35.120000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-zoo3-1 Stopping (cluster.py:147, run_and_check) 2025-07-28 09:57:35.121000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-zoo1-1 Stopping (cluster.py:147, run_and_check) 2025-07-28 09:57:35.121000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-zoo1-1 Stopped (cluster.py:147, run_and_check) 2025-07-28 09:57:35.121000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-zoo3-1 Stopped (cluster.py:147, run_and_check) 2025-07-28 09:57:35.121000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-zoo2-1 Stopped (cluster.py:147, run_and_check) 2025-07-28 09:57:35.121000 [ 642 ] DEBUG : Command:[bash -c [ -f /ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/node1/logs/stderr.log ] && zgrep -aH "==================" /ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/node1/logs/stderr.log* | ( [ -z "" ] && cat || grep -v "$" ) || true] (cluster.py:121, run_and_check) 2025-07-28 09:57:35.131000 [ 642 ] DEBUG : Command:[bash -c [ -f /ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/node2/logs/stderr.log ] && zgrep -aH "==================" /ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/node2/logs/stderr.log* | ( [ -z "" ] && cat || grep -v "$" ) || true] (cluster.py:121, run_and_check) 2025-07-28 09:57:35.140000 [ 642 ] DEBUG : Command:[docker compose --env-file /ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/.env --project-name roottestbackuprestoreonclustercancelbackup-gw2 --file /ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/node1/docker-compose.yml --file /ClickHouse/tests/integration/helpers/../../../tests/integration/compose/docker_compose_keeper.yml --file /ClickHouse/tests/integration/test_backup_restore_on_cluster/_instances-cancel_backup-1-gw2/node2/docker-compose.yml down --volumes] (cluster.py:121, run_and_check) 2025-07-28 09:57:35.605000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-node1-1 Stopping (cluster.py:147, run_and_check) 2025-07-28 09:57:35.605000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-node2-1 Stopping (cluster.py:147, run_and_check) 2025-07-28 09:57:35.605000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-node1-1 Stopped (cluster.py:147, run_and_check) 2025-07-28 09:57:35.606000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-node1-1 Removing (cluster.py:147, run_and_check) 2025-07-28 09:57:35.606000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-node2-1 Stopped (cluster.py:147, run_and_check) 2025-07-28 09:57:35.606000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-node2-1 Removing (cluster.py:147, run_and_check) 2025-07-28 09:57:35.606000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-node1-1 Removed (cluster.py:147, run_and_check) 2025-07-28 09:57:35.606000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-node2-1 Removed (cluster.py:147, run_and_check) 2025-07-28 09:57:35.606000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-zoo1-1 Stopping (cluster.py:147, run_and_check) 2025-07-28 09:57:35.606000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-zoo2-1 Stopping (cluster.py:147, run_and_check) 2025-07-28 09:57:35.606000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-zoo3-1 Stopping (cluster.py:147, run_and_check) 2025-07-28 09:57:35.606000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-zoo1-1 Stopped (cluster.py:147, run_and_check) 2025-07-28 09:57:35.606000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-zoo1-1 Removing (cluster.py:147, run_and_check) 2025-07-28 09:57:35.606000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-zoo2-1 Stopped (cluster.py:147, run_and_check) 2025-07-28 09:57:35.606000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-zoo2-1 Removing (cluster.py:147, run_and_check) 2025-07-28 09:57:35.606000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-zoo3-1 Stopped (cluster.py:147, run_and_check) 2025-07-28 09:57:35.606000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-zoo3-1 Removing (cluster.py:147, run_and_check) 2025-07-28 09:57:35.607000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-zoo2-1 Removed (cluster.py:147, run_and_check) 2025-07-28 09:57:35.607000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-zoo3-1 Removed (cluster.py:147, run_and_check) 2025-07-28 09:57:35.607000 [ 642 ] DEBUG : Stderr: Container roottestbackuprestoreonclustercancelbackup-gw2-zoo1-1 Removed (cluster.py:147, run_and_check) 2025-07-28 09:57:35.607000 [ 642 ] DEBUG : Stderr: Network roottestbackuprestoreonclustercancelbackup-gw2_default Removing (cluster.py:147, run_and_check) 2025-07-28 09:57:35.607000 [ 642 ] DEBUG : Stderr: Network roottestbackuprestoreonclustercancelbackup-gw2_default Removed (cluster.py:147, run_and_check) 2025-07-28 09:57:35.607000 [ 642 ] DEBUG : Cleanup called (cluster.py:851, cleanup) 2025-07-28 09:57:35.624000 [ 642 ] DEBUG : Docker networks for project roottestbackuprestoreonclustercancelbackup-gw2 are NETWORK ID NAME DRIVER SCOPE (cluster.py:830, print_all_docker_pieces) 2025-07-28 09:57:35.641000 [ 642 ] DEBUG : Docker containers for project roottestbackuprestoreonclustercancelbackup-gw2 are CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES (cluster.py:838, print_all_docker_pieces) 2025-07-28 09:57:35.657000 [ 642 ] DEBUG : Docker volumes for project roottestbackuprestoreonclustercancelbackup-gw2 are DRIVER VOLUME NAME (cluster.py:846, print_all_docker_pieces) 2025-07-28 09:57:35.658000 [ 642 ] DEBUG : Command:[docker container list --all --filter name='^/roottestbackuprestoreonclustercancelbackup-gw2-.*-1$' --format '{{.ID}}:{{.Names}}'] (cluster.py:121, run_and_check) 2025-07-28 09:57:35.678000 [ 642 ] DEBUG : Unstopped containers: {} (cluster.py:865, cleanup) 2025-07-28 09:57:35.678000 [ 642 ] DEBUG : No running containers for project: roottestbackuprestoreonclustercancelbackup-gw2 (cluster.py:879, cleanup) 2025-07-28 09:57:35.678000 [ 642 ] DEBUG : Trying to prune unused networks... (cluster.py:885, cleanup) 2025-07-28 09:57:35.697000 [ 642 ] DEBUG : Trying to prune unused images... (cluster.py:901, cleanup) 2025-07-28 09:57:35.697000 [ 642 ] DEBUG : Command:[docker image prune -f] (cluster.py:121, run_and_check) 2025-07-28 09:57:35.734000 [ 642 ] DEBUG : Stdout:Total reclaimed space: 0B (cluster.py:145, run_and_check) 2025-07-28 09:57:35.734000 [ 642 ] DEBUG : Images pruned (cluster.py:904, cleanup) 2025-07-28 09:57:35.734000 [ 642 ] DEBUG : Trying to prune unused volumes... (cluster.py:910, cleanup) 2025-07-28 09:57:35.735000 [ 642 ] DEBUG : Command:[docker volume ls | wc -l] (cluster.py:121, run_and_check) 2025-07-28 09:57:35.759000 [ 642 ] DEBUG : Stdout:1 (cluster.py:145, run_and_check) 2025-07-28 09:57:35.759000 [ 642 ] DEBUG : Volumes pruned: 1 (cluster.py:915, cleanup) ____________________ test_cow_policy[cow_policy_multi_disk] ____________________ [gw1] linux -- Python 3.10.12 /usr/bin/python3 start_cluster = storage_policy = 'cow_policy_multi_disk' @pytest.mark.parametrize("storage_policy", ["cow_policy_multi_disk", "cow_policy_multi_volume"]) def test_cow_policy(start_cluster, storage_policy): try: > node.query_with_retry( f""" ATTACH TABLE uk_price_paid UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = MergeTree ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS storage_policy = '{storage_policy}' """, timeout=60, retry_count=3, ) test_cow_policy/test.py:24: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = sql = "\n ATTACH TABLE uk_price_paid UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7'\n (\n ...R BY (postcode1, postcode2, addr1, addr2)\n SETTINGS storage_policy = 'cow_policy_multi_disk'\n " stdin = None, timeout = 60, settings = None, user = None, password = None database = None, host = None, ignore_error = False, retry_count = 3 sleep_time = 0.5 check_callback = at 0x7f3a8c778160> parse = False def query_with_retry( self, sql, stdin=None, timeout=None, settings=None, user=None, password=None, database=None, host=None, ignore_error=False, retry_count=20, sleep_time=0.5, check_callback=lambda x: True, parse=False, ): # logging.debug(f"Executing query {sql} on {self.name}") result = None exception_msg = "" for i in range(retry_count): try: result = self.query( sql, stdin=stdin, timeout=timeout, settings=settings, user=user, password=password, database=database, host=host, ignore_error=ignore_error, parse=parse, ) if check_callback(result): return result time.sleep(sleep_time) except QueryRuntimeException as ex: exception_msg = f"{type(ex).__name__}: {str(ex)}" # Container is down, this is likely due to server crash. if "No route to host" in str(ex): raise time.sleep(sleep_time) except Exception as ex: # logging.debug("Retry {} got exception {}".format(i + 1, ex)) exception_msg = f"{type(ex).__name__}: {str(ex)}" time.sleep(sleep_time) if result is not None: return result > raise Exception(f"Can't execute query {sql}\n{exception_msg}") E Exception: Can't execute query E ATTACH TABLE uk_price_paid UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' E ( E price UInt32, E date Date, E postcode1 LowCardinality(String), E postcode2 LowCardinality(String), E type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), E is_new UInt8, E duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), E addr1 String, E addr2 String, E street LowCardinality(String), E locality LowCardinality(String), E town LowCardinality(String), E district LowCardinality(String), E county LowCardinality(String) E ) E ENGINE = MergeTree E ORDER BY (postcode1, postcode2, addr1, addr2) E SETTINGS storage_policy = 'cow_policy_multi_disk' E E QueryRuntimeException: Client failed! Return code: 198, stderr: Received exception from server (version 25.3.6): E Code: 198. DB::Exception: Received from 172.16.2.2:9000. DB::NetException. DB::NetException: Not found address of host: raw.githubusercontent.com: while loading disk metadata. Stack trace: E E 0. ./contrib/llvm-project/libcxx/include/__exception/exception.h:113: Poco::Exception::Exception(String const&, int) @ 0x0000000020ddc080 E 1. ./build_docker/./src/Common/Exception.cpp:108: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x0000000010b2e494 E 2. ./src/Common/Exception.h:112: DB::NetException::NetException(int, FormatStringHelperImpl::type>, String const&) @ 0x0000000010aead79 E 3. ./build_docker/./src/Common/DNSResolver.cpp:113: DB::(anonymous namespace)::hostByName(String const&) @ 0x0000000010ae66e3 E 4. ./build_docker/./src/Common/DNSResolver.cpp:138: DB::DNSResolver::getResolvedIPAdressessWithFiltering(String const&) @ 0x0000000010ae4cb3 E 5. ./build_docker/./src/Common/DNSResolver.cpp:256: DB::DNSResolver::resolveIPAddressWithCache(String const&) @ 0x0000000010ae5299 E 6. ./build_docker/./src/Common/DNSResolver.cpp:276: DB::DNSResolver::resolveHostAllInOriginOrder(String const&) @ 0x0000000010ae59d0 E 7. ./build_docker/./src/Common/HostResolvePool.cpp:54: std::vector> std::__function::__policy_invoker> (String const&)>::__call_impl[abi:ne190107]> (String const&)>>(std::__function::__policy_storage const*, String const&) @ 0x0000000010fb7a29 E 8. ./contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000010fb588f E 9. ./build_docker/./src/Common/HostResolvePool.cpp:66: DB::HostResolver::HostResolver(std::function> (String const&)>&&, String, Poco::Timespan) @ 0x0000000010fb569f E 10. ./build_docker/./src/Common/HostResolvePool.cpp:53: DB::HostResolver::HostResolver(String, Poco::Timespan) @ 0x0000000010fb533e E 11. ./src/Common/HostResolvePool.h:62: std::shared_ptr DB::HostResolver::create(String const&)::make_shared_enabler::make_shared_enabler(String const&) @ 0x0000000010fba923 E 12. ./contrib/llvm-project/libcxx/include/__memory/construct_at.h:41: std::shared_ptr DB::HostResolver::create(String const&)::make_shared_enabler> std::allocate_shared[abi:ne190107] DB::HostResolver::create(String const&)::make_shared_enabler, std::allocator DB::HostResolver::create(String const&)::make_shared_enabler>, String const&, 0>(std::allocator DB::HostResolver::create(String const&)::make_shared_enabler> const&, String const&) @ 0x0000000010fba626 E 13. ./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:851: DB::HostResolversPool::getResolver(String const&) @ 0x0000000010fb78f1 E 14. ./build_docker/./src/Common/HTTPConnectionPool.cpp:671: DB::EndpointConnectionPool::prepareNewConnection(DB::ConnectionTimeouts const&, unsigned long*) @ 0x0000000010fa9d36 E 15. ./build_docker/./src/Common/HTTPConnectionPool.cpp:590: DB::EndpointConnectionPool::getConnection(DB::ConnectionTimeouts const&, unsigned long*) @ 0x0000000010fa8f98 E 16. ./build_docker/./src/IO/HTTPCommon.cpp:63: DB::makeHTTPSession(DB::HTTPConnectionGroupType, Poco::URI const&, DB::ConnectionTimeouts const&, DB::ProxyConfiguration const&, unsigned long*) @ 0x0000000010fc1b2d E 17. ./build_docker/./src/IO/ReadWriteBufferFromHTTP.cpp:267: DB::ReadWriteBufferFromHTTP::callImpl(Poco::Net::HTTPResponse&, String const&, std::optional const&, bool) const @ 0x0000000013ceef45 E 18. ./build_docker/./src/IO/ReadWriteBufferFromHTTP.cpp:285: DB::ReadWriteBufferFromHTTP::callWithRedirects(Poco::Net::HTTPResponse&, String const&, std::optional const&) @ 0x0000000013cef1f4 E 19. ./build_docker/./src/IO/ReadWriteBufferFromHTTP.cpp:408: DB::ReadWriteBufferFromHTTP::initialize() @ 0x0000000013cefca0 E 20. ./build_docker/./src/IO/ReadWriteBufferFromHTTP.cpp:472: void std::__function::__policy_invoker::__call_impl[abi:ne190107]>(std::__function::__policy_storage const*) @ 0x0000000013cf2e57 E 21. ./contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000013cec6b9 E 22. ./build_docker/./src/IO/ReadWriteBufferFromHTTP.cpp:465: DB::ReadWriteBufferFromHTTP::nextImpl() @ 0x0000000013cf1361 E 23. DB::ReadBuffer::next() @ 0x0000000008915c7b E 24. ./src/IO/ReadBuffer.h:96: DB::WebObjectStorage::loadFiles(String const&, std::unique_lock const&) const @ 0x000000001795fc19 E 25. ./build_docker/./src/Disks/ObjectStorages/Web/WebObjectStorage.cpp:225: DB::WebObjectStorage::tryGetFileInfo(String const&) const @ 0x000000001796309a E 26. ./build_docker/./src/Disks/ObjectStorages/Web/WebObjectStorage.cpp:185: DB::WebObjectStorage::tryGetFileInfo(String const&) const @ 0x0000000017962aba E 27. ./build_docker/./src/Disks/ObjectStorages/Web/MetadataStorageFromStaticFilesWebServer.cpp:106: DB::MetadataStorageFromStaticFilesWebServer::getStorageObjectsIfExist(String const&) const @ 0x000000001795d065 E 28. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:785: DB::DiskObjectStorage::readFileIfExists(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000178c3512 E 29. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:380: DB::MergeTreeData::initializeDirectoriesAndFormatVersion(String const&, bool, String const&, bool) @ 0x000000001b2ddc1d E 30. ./build_docker/./src/Storages/StorageMergeTree.cpp:159: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, DB::LoadingStrictnessLevel, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>) @ 0x000000001b7af0c7 E 31. ./contrib/llvm-project/libcxx/include/__memory/construct_at.h:41: std::shared_ptr std::allocate_shared[abi:ne190107], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, 0>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001b7ae9e4 E . (DNS_ERROR) E (query: ATTACH TABLE uk_price_paid UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' E ( E price UInt32, E date Date, E postcode1 LowCardinality(String), E postcode2 LowCardinality(String), E type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), E is_new UInt8, E duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), E addr1 String, E addr2 String, E street LowCardinality(String), E locality LowCardinality(String), E town LowCardinality(String), E district LowCardinality(String), E county LowCardinality(String) E ) E ENGINE = MergeTree E ORDER BY (postcode1, postcode2, addr1, addr2) E SETTINGS storage_policy = 'cow_policy_multi_disk' E ) helpers/cluster.py:3712: Exception ---------------------------- Captured stdout setup ----------------------------- Copy common default production configuration from /clickhouse-config. Files: config.xml, users.xml ------------------------------ Captured log setup ------------------------------ 2025-07-28 09:56:53.818000 [ 639 ] DEBUG : Command:[docker ps | wc -l] (cluster.py:121, run_and_check) 2025-07-28 09:56:53.836000 [ 639 ] DEBUG : Stdout:1 (cluster.py:145, run_and_check) 2025-07-28 09:56:53.836000 [ 639 ] DEBUG : No running containers (conftest.py:95, cleanup_environment) 2025-07-28 09:56:53.836000 [ 639 ] DEBUG : Pruning Docker networks (conftest.py:97, cleanup_environment) 2025-07-28 09:56:53.836000 [ 639 ] DEBUG : Command:[docker network prune --force] (cluster.py:121, run_and_check) 2025-07-28 09:56:53.854000 [ 639 ] DEBUG : Command:[sysctl net.ipv4.ip_local_port_range='55000 65535'] (cluster.py:121, run_and_check) 2025-07-28 09:56:53.857000 [ 639 ] DEBUG : Stdout:net.ipv4.ip_local_port_range = 55000 65535 (cluster.py:145, run_and_check) 2025-07-28 09:56:53.858000 [ 639 ] INFO : Running tests in /ClickHouse/tests/integration/test_cow_policy/test.py (cluster.py:2738, start) 2025-07-28 09:56:53.858000 [ 639 ] DEBUG : Cluster start called. is_up=False (cluster.py:2745, start) 2025-07-28 09:56:53.877000 [ 639 ] DEBUG : Docker networks for project roottestcowpolicy-gw1 are NETWORK ID NAME DRIVER SCOPE (cluster.py:830, print_all_docker_pieces) 2025-07-28 09:56:53.895000 [ 639 ] DEBUG : Docker containers for project roottestcowpolicy-gw1 are CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES (cluster.py:838, print_all_docker_pieces) 2025-07-28 09:56:53.914000 [ 639 ] DEBUG : Docker volumes for project roottestcowpolicy-gw1 are DRIVER VOLUME NAME (cluster.py:846, print_all_docker_pieces) 2025-07-28 09:56:53.915000 [ 639 ] DEBUG : Cleanup called (cluster.py:851, cleanup) 2025-07-28 09:56:53.938000 [ 639 ] DEBUG : Docker networks for project roottestcowpolicy-gw1 are NETWORK ID NAME DRIVER SCOPE (cluster.py:830, print_all_docker_pieces) 2025-07-28 09:56:53.960000 [ 639 ] DEBUG : Docker containers for project roottestcowpolicy-gw1 are CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES (cluster.py:838, print_all_docker_pieces) 2025-07-28 09:56:53.982000 [ 639 ] DEBUG : Docker volumes for project roottestcowpolicy-gw1 are DRIVER VOLUME NAME (cluster.py:846, print_all_docker_pieces) 2025-07-28 09:56:53.982000 [ 639 ] DEBUG : Command:[docker container list --all --filter name='^/roottestcowpolicy-gw1-.*-1$' --format '{{.ID}}:{{.Names}}'] (cluster.py:121, run_and_check) 2025-07-28 09:56:53.999000 [ 639 ] DEBUG : Unstopped containers: {} (cluster.py:865, cleanup) 2025-07-28 09:56:53.999000 [ 639 ] DEBUG : No running containers for project: roottestcowpolicy-gw1 (cluster.py:879, cleanup) 2025-07-28 09:56:53.999000 [ 639 ] DEBUG : Trying to prune unused networks... (cluster.py:885, cleanup) 2025-07-28 09:56:54.019000 [ 639 ] DEBUG : Trying to prune unused images... (cluster.py:901, cleanup) 2025-07-28 09:56:54.019000 [ 639 ] DEBUG : Command:[docker image prune -f] (cluster.py:121, run_and_check) 2025-07-28 09:56:54.041000 [ 639 ] DEBUG : Stderr:Error response from daemon: a prune operation is already running (cluster.py:147, run_and_check) 2025-07-28 09:56:54.041000 [ 639 ] DEBUG : Exitcode:1 (cluster.py:149, run_and_check) 2025-07-28 09:56:54.041000 [ 639 ] DEBUG : Trying to prune unused volumes... (cluster.py:910, cleanup) 2025-07-28 09:56:54.041000 [ 639 ] DEBUG : Command:[docker volume ls | wc -l] (cluster.py:121, run_and_check) 2025-07-28 09:56:54.060000 [ 639 ] DEBUG : Stdout:1 (cluster.py:145, run_and_check) 2025-07-28 09:56:54.060000 [ 639 ] DEBUG : Volumes pruned: 1 (cluster.py:915, cleanup) 2025-07-28 09:56:54.060000 [ 639 ] DEBUG : Setup directory for instance: node (cluster.py:2758, start) 2025-07-28 09:56:54.061000 [ 639 ] DEBUG : Create directory for configuration generated in this helper (cluster.py:4628, create_dir) 2025-07-28 09:56:54.061000 [ 639 ] DEBUG : Create directory for common tests configuration (cluster.py:4633, create_dir) 2025-07-28 09:56:54.061000 [ 639 ] DEBUG : Copy common configuration from helpers (cluster.py:4653, create_dir) 2025-07-28 09:56:54.062000 [ 639 ] DEBUG : Generate and write macros file (cluster.py:4705, create_dir) 2025-07-28 09:56:54.062000 [ 639 ] DEBUG : Copy custom test config files ['/ClickHouse/tests/integration/test_cow_policy/configs/overrides.yaml'] to /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw1/node/configs/config.d (cluster.py:4741, create_dir) 2025-07-28 09:56:54.063000 [ 639 ] DEBUG : Setup database dir /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw1/node/database (cluster.py:4758, create_dir) 2025-07-28 09:56:54.063000 [ 639 ] DEBUG : Setup logs dir /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw1/node/logs (cluster.py:4769, create_dir) 2025-07-28 09:56:54.063000 [ 639 ] DEBUG : Entrypoint cmd: ["clickhouse", "server", "--config-file=/etc/clickhouse-server/config.xml", "--log-file=/var/log/clickhouse-server/clickhouse-server.log", "--errorlog-file=/var/log/clickhouse-server/clickhouse-server.err.log", "--"] (cluster.py:4850, create_dir) 2025-07-28 09:56:54.063000 [ 639 ] DEBUG : Env {'ASAN_OPTIONS': 'use_sigaltstack=0', 'TSAN_OPTIONS': 'use_sigaltstack=0', 'CLICKHOUSE_WATCHDOG_ENABLE': '0', 'CLICKHOUSE_NATS_TLS_SECURE': '0', 'LLVM_PROFILE_FILE': '/var/lib/clickhouse/server_%h_%p_%m.profraw'} stored in /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw1/.env (cluster.py:96, _create_env_file) 2025-07-28 09:56:54.063000 [ 639 ] DEBUG : Trying paths: ['/root/.docker/config.json', '/root/.dockercfg'] (config.py:21, find_config_file) 2025-07-28 09:56:54.063000 [ 639 ] DEBUG : No config file found (config.py:28, find_config_file) 2025-07-28 09:56:54.064000 [ 639 ] DEBUG : Trying paths: ['/root/.docker/config.json', '/root/.dockercfg'] (config.py:21, find_config_file) 2025-07-28 09:56:54.064000 [ 639 ] DEBUG : No config file found (config.py:28, find_config_file) 2025-07-28 09:56:54.073000 [ 639 ] DEBUG : http://localhost:None "GET /version HTTP/1.1" 200 826 (connectionpool.py:547, _make_request) 2025-07-28 09:56:54.074000 [ 639 ] DEBUG : Command:[docker compose --env-file /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw1/.env --project-name roottestcowpolicy-gw1 --file /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw1/node/docker-compose.yml pull] (cluster.py:121, run_and_check) 2025-07-28 09:57:04.478000 [ 639 ] DEBUG : Stderr: node Pulling (cluster.py:147, run_and_check) 2025-07-28 09:57:04.478000 [ 639 ] DEBUG : Stderr: node Pulled (cluster.py:147, run_and_check) 2025-07-28 09:57:04.478000 [ 639 ] DEBUG : ('Trying to create ClickHouse instance by command %s', 'docker compose --env-file /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw1/.env --project-name roottestcowpolicy-gw1 --file /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw1/node/docker-compose.yml up -d --no-recreate') (cluster.py:3139, start) 2025-07-28 09:57:04.478000 [ 639 ] DEBUG : Command:[docker compose --env-file /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw1/.env --project-name roottestcowpolicy-gw1 --file /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw1/node/docker-compose.yml up -d --no-recreate] (cluster.py:121, run_and_check) 2025-07-28 09:57:05.321000 [ 639 ] DEBUG : Stderr: Network roottestcowpolicy-gw1_default Creating (cluster.py:147, run_and_check) 2025-07-28 09:57:05.321000 [ 639 ] DEBUG : Stderr: Network roottestcowpolicy-gw1_default Created (cluster.py:147, run_and_check) 2025-07-28 09:57:05.321000 [ 639 ] DEBUG : Stderr: Container roottestcowpolicy-gw1-node-1 Creating (cluster.py:147, run_and_check) 2025-07-28 09:57:05.321000 [ 639 ] DEBUG : Stderr: Container roottestcowpolicy-gw1-node-1 Created (cluster.py:147, run_and_check) 2025-07-28 09:57:05.322000 [ 639 ] DEBUG : Stderr: Container roottestcowpolicy-gw1-node-1 Starting (cluster.py:147, run_and_check) 2025-07-28 09:57:05.322000 [ 639 ] DEBUG : Stderr: Container roottestcowpolicy-gw1-node-1 Started (cluster.py:147, run_and_check) 2025-07-28 09:57:05.322000 [ 639 ] DEBUG : ClickHouse instance created (cluster.py:3147, start) 2025-07-28 09:57:05.322000 [ 639 ] DEBUG : get_instance_ip instance_name=node (cluster.py:2005, get_instance_ip) 2025-07-28 09:57:05.325000 [ 639 ] DEBUG : http://localhost:None "GET /v1.46/containers/roottestcowpolicy-gw1-node-1/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:05.325000 [ 639 ] DEBUG : get_instance_ip instance_name=node (cluster.py:2015, get_instance_global_ipv6) 2025-07-28 09:57:05.328000 [ 639 ] DEBUG : http://localhost:None "GET /v1.46/containers/roottestcowpolicy-gw1-node-1/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:05.329000 [ 639 ] DEBUG : Waiting for ClickHouse start in node, ip: 172.16.2.2... (cluster.py:3155, start) 2025-07-28 09:57:05.331000 [ 639 ] DEBUG : http://localhost:None "GET /v1.46/containers/roottestcowpolicy-gw1-node-1/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:05.334000 [ 639 ] DEBUG : http://localhost:None "GET /v1.46/containers/11ada10736178d306eb35cfe910b8c02a72fa57b7d4871710eec4c25920c8d93/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:05.438000 [ 639 ] DEBUG : http://localhost:None "GET /v1.46/containers/11ada10736178d306eb35cfe910b8c02a72fa57b7d4871710eec4c25920c8d93/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:05.541000 [ 639 ] DEBUG : http://localhost:None "GET /v1.46/containers/11ada10736178d306eb35cfe910b8c02a72fa57b7d4871710eec4c25920c8d93/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:05.644000 [ 639 ] DEBUG : http://localhost:None "GET /v1.46/containers/11ada10736178d306eb35cfe910b8c02a72fa57b7d4871710eec4c25920c8d93/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:05.747000 [ 639 ] DEBUG : http://localhost:None "GET /v1.46/containers/11ada10736178d306eb35cfe910b8c02a72fa57b7d4871710eec4c25920c8d93/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:05.850000 [ 639 ] DEBUG : http://localhost:None "GET /v1.46/containers/11ada10736178d306eb35cfe910b8c02a72fa57b7d4871710eec4c25920c8d93/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:05.953000 [ 639 ] DEBUG : http://localhost:None "GET /v1.46/containers/11ada10736178d306eb35cfe910b8c02a72fa57b7d4871710eec4c25920c8d93/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:06.056000 [ 639 ] DEBUG : http://localhost:None "GET /v1.46/containers/11ada10736178d306eb35cfe910b8c02a72fa57b7d4871710eec4c25920c8d93/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:06.158000 [ 639 ] DEBUG : http://localhost:None "GET /v1.46/containers/11ada10736178d306eb35cfe910b8c02a72fa57b7d4871710eec4c25920c8d93/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:06.261000 [ 639 ] DEBUG : http://localhost:None "GET /v1.46/containers/11ada10736178d306eb35cfe910b8c02a72fa57b7d4871710eec4c25920c8d93/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:06.364000 [ 639 ] DEBUG : http://localhost:None "GET /v1.46/containers/11ada10736178d306eb35cfe910b8c02a72fa57b7d4871710eec4c25920c8d93/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:06.467000 [ 639 ] DEBUG : http://localhost:None "GET /v1.46/containers/11ada10736178d306eb35cfe910b8c02a72fa57b7d4871710eec4c25920c8d93/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:06.570000 [ 639 ] DEBUG : http://localhost:None "GET /v1.46/containers/11ada10736178d306eb35cfe910b8c02a72fa57b7d4871710eec4c25920c8d93/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:06.673000 [ 639 ] DEBUG : http://localhost:None "GET /v1.46/containers/11ada10736178d306eb35cfe910b8c02a72fa57b7d4871710eec4c25920c8d93/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:06.776000 [ 639 ] DEBUG : http://localhost:None "GET /v1.46/containers/11ada10736178d306eb35cfe910b8c02a72fa57b7d4871710eec4c25920c8d93/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:06.879000 [ 639 ] DEBUG : http://localhost:None "GET /v1.46/containers/11ada10736178d306eb35cfe910b8c02a72fa57b7d4871710eec4c25920c8d93/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:06.982000 [ 639 ] DEBUG : http://localhost:None "GET /v1.46/containers/11ada10736178d306eb35cfe910b8c02a72fa57b7d4871710eec4c25920c8d93/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:07.086000 [ 639 ] DEBUG : http://localhost:None "GET /v1.46/containers/11ada10736178d306eb35cfe910b8c02a72fa57b7d4871710eec4c25920c8d93/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:07.189000 [ 639 ] DEBUG : http://localhost:None "GET /v1.46/containers/11ada10736178d306eb35cfe910b8c02a72fa57b7d4871710eec4c25920c8d93/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:07.292000 [ 639 ] DEBUG : http://localhost:None "GET /v1.46/containers/11ada10736178d306eb35cfe910b8c02a72fa57b7d4871710eec4c25920c8d93/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:07.395000 [ 639 ] DEBUG : http://localhost:None "GET /v1.46/containers/11ada10736178d306eb35cfe910b8c02a72fa57b7d4871710eec4c25920c8d93/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:07.498000 [ 639 ] DEBUG : http://localhost:None "GET /v1.46/containers/11ada10736178d306eb35cfe910b8c02a72fa57b7d4871710eec4c25920c8d93/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:07.600000 [ 639 ] DEBUG : http://localhost:None "GET /v1.46/containers/11ada10736178d306eb35cfe910b8c02a72fa57b7d4871710eec4c25920c8d93/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:07.703000 [ 639 ] DEBUG : http://localhost:None "GET /v1.46/containers/11ada10736178d306eb35cfe910b8c02a72fa57b7d4871710eec4c25920c8d93/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2025-07-28 09:57:07.704000 [ 639 ] DEBUG : ClickHouse node started (cluster.py:3159, start) ------------------------------ Captured log call ------------------------------- 2025-07-28 09:57:07.706000 [ 639 ] DEBUG : Executing query ATTACH TABLE uk_price_paid UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = MergeTree ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS storage_policy = 'cow_policy_multi_disk' on node (cluster.py:3648, query) 2025-07-28 09:58:01.681000 [ 639 ] DEBUG : Executing query ATTACH TABLE uk_price_paid UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = MergeTree ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS storage_policy = 'cow_policy_multi_disk' on node (cluster.py:3648, query) 2025-07-28 09:58:56.213000 [ 639 ] DEBUG : Executing query ATTACH TABLE uk_price_paid UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = MergeTree ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS storage_policy = 'cow_policy_multi_disk' on node (cluster.py:3648, query) 2025-07-28 09:59:51.451000 [ 639 ] DEBUG : Executing query DROP TABLE IF EXISTS uk_price_paid SYNC on node (cluster.py:3648, query) ___________________ test_cow_policy[cow_policy_multi_volume] ___________________ [gw1] linux -- Python 3.10.12 /usr/bin/python3 start_cluster = storage_policy = 'cow_policy_multi_volume' @pytest.mark.parametrize("storage_policy", ["cow_policy_multi_disk", "cow_policy_multi_volume"]) def test_cow_policy(start_cluster, storage_policy): try: > node.query_with_retry( f""" ATTACH TABLE uk_price_paid UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = MergeTree ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS storage_policy = '{storage_policy}' """, timeout=60, retry_count=3, ) test_cow_policy/test.py:24: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = sql = "\n ATTACH TABLE uk_price_paid UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7'\n (\n ...BY (postcode1, postcode2, addr1, addr2)\n SETTINGS storage_policy = 'cow_policy_multi_volume'\n " stdin = None, timeout = 60, settings = None, user = None, password = None database = None, host = None, ignore_error = False, retry_count = 3 sleep_time = 0.5 check_callback = at 0x7f3a8c778160> parse = False def query_with_retry( self, sql, stdin=None, timeout=None, settings=None, user=None, password=None, database=None, host=None, ignore_error=False, retry_count=20, sleep_time=0.5, check_callback=lambda x: True, parse=False, ): # logging.debug(f"Executing query {sql} on {self.name}") result = None exception_msg = "" for i in range(retry_count): try: result = self.query( sql, stdin=stdin, timeout=timeout, settings=settings, user=user, password=password, database=database, host=host, ignore_error=ignore_error, parse=parse, ) if check_callback(result): return result time.sleep(sleep_time) except QueryRuntimeException as ex: exception_msg = f"{type(ex).__name__}: {str(ex)}" # Container is down, this is likely due to server crash. if "No route to host" in str(ex): raise time.sleep(sleep_time) except Exception as ex: # logging.debug("Retry {} got exception {}".format(i + 1, ex)) exception_msg = f"{type(ex).__name__}: {str(ex)}" time.sleep(sleep_time) if result is not None: return result > raise Exception(f"Can't execute query {sql}\n{exception_msg}") E Exception: Can't execute query E ATTACH TABLE uk_price_paid UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' E ( E price UInt32, E date Date, E postcode1 LowCardinality(String), E postcode2 LowCardinality(String), E type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), E is_new UInt8, E duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), E addr1 String, E addr2 String, E street LowCardinality(String), E locality LowCardinality(String), E town LowCardinality(String), E district LowCardinality(String), E county LowCardinality(String) E ) E ENGINE = MergeTree E ORDER BY (postcode1, postcode2, addr1, addr2) E SETTINGS storage_policy = 'cow_policy_multi_volume' E E QueryRuntimeException: Client failed! Return code: 198, stderr: Received exception from server (version 25.3.6): E Code: 198. DB::Exception: Received from 172.16.2.2:9000. DB::NetException. DB::NetException: Not found address of host: raw.githubusercontent.com: while loading disk metadata. Stack trace: E E 0. ./contrib/llvm-project/libcxx/include/__exception/exception.h:113: Poco::Exception::Exception(String const&, int) @ 0x0000000020ddc080 E 1. ./build_docker/./src/Common/Exception.cpp:108: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x0000000010b2e494 E 2. ./src/Common/Exception.h:112: DB::NetException::NetException(int, FormatStringHelperImpl::type>, String const&) @ 0x0000000010aead79 E 3. ./build_docker/./src/Common/DNSResolver.cpp:113: DB::(anonymous namespace)::hostByName(String const&) @ 0x0000000010ae66e3 E 4. ./build_docker/./src/Common/DNSResolver.cpp:138: DB::DNSResolver::getResolvedIPAdressessWithFiltering(String const&) @ 0x0000000010ae4cb3 E 5. ./build_docker/./src/Common/DNSResolver.cpp:256: DB::DNSResolver::resolveIPAddressWithCache(String const&) @ 0x0000000010ae5299 E 6. ./build_docker/./src/Common/DNSResolver.cpp:276: DB::DNSResolver::resolveHostAllInOriginOrder(String const&) @ 0x0000000010ae59d0 E 7. ./build_docker/./src/Common/HostResolvePool.cpp:54: std::vector> std::__function::__policy_invoker> (String const&)>::__call_impl[abi:ne190107]> (String const&)>>(std::__function::__policy_storage const*, String const&) @ 0x0000000010fb7a29 E 8. ./contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000010fb588f E 9. ./build_docker/./src/Common/HostResolvePool.cpp:66: DB::HostResolver::HostResolver(std::function> (String const&)>&&, String, Poco::Timespan) @ 0x0000000010fb569f E 10. ./build_docker/./src/Common/HostResolvePool.cpp:53: DB::HostResolver::HostResolver(String, Poco::Timespan) @ 0x0000000010fb533e E 11. ./src/Common/HostResolvePool.h:62: std::shared_ptr DB::HostResolver::create(String const&)::make_shared_enabler::make_shared_enabler(String const&) @ 0x0000000010fba923 E 12. ./contrib/llvm-project/libcxx/include/__memory/construct_at.h:41: std::shared_ptr DB::HostResolver::create(String const&)::make_shared_enabler> std::allocate_shared[abi:ne190107] DB::HostResolver::create(String const&)::make_shared_enabler, std::allocator DB::HostResolver::create(String const&)::make_shared_enabler>, String const&, 0>(std::allocator DB::HostResolver::create(String const&)::make_shared_enabler> const&, String const&) @ 0x0000000010fba626 E 13. ./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:851: DB::HostResolversPool::getResolver(String const&) @ 0x0000000010fb78f1 E 14. ./build_docker/./src/Common/HTTPConnectionPool.cpp:671: DB::EndpointConnectionPool::prepareNewConnection(DB::ConnectionTimeouts const&, unsigned long*) @ 0x0000000010fa9d36 E 15. ./build_docker/./src/Common/HTTPConnectionPool.cpp:590: DB::EndpointConnectionPool::getConnection(DB::ConnectionTimeouts const&, unsigned long*) @ 0x0000000010fa8f98 E 16. ./build_docker/./src/IO/HTTPCommon.cpp:63: DB::makeHTTPSession(DB::HTTPConnectionGroupType, Poco::URI const&, DB::ConnectionTimeouts const&, DB::ProxyConfiguration const&, unsigned long*) @ 0x0000000010fc1b2d E 17. ./build_docker/./src/IO/ReadWriteBufferFromHTTP.cpp:267: DB::ReadWriteBufferFromHTTP::callImpl(Poco::Net::HTTPResponse&, String const&, std::optional const&, bool) const @ 0x0000000013ceef45 E 18. ./build_docker/./src/IO/ReadWriteBufferFromHTTP.cpp:285: DB::ReadWriteBufferFromHTTP::callWithRedirects(Poco::Net::HTTPResponse&, String const&, std::optional const&) @ 0x0000000013cef1f4 E 19. ./build_docker/./src/IO/ReadWriteBufferFromHTTP.cpp:408: DB::ReadWriteBufferFromHTTP::initialize() @ 0x0000000013cefca0 E 20. ./build_docker/./src/IO/ReadWriteBufferFromHTTP.cpp:472: void std::__function::__policy_invoker::__call_impl[abi:ne190107]>(std::__function::__policy_storage const*) @ 0x0000000013cf2e57 E 21. ./contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000013cec6b9 E 22. ./build_docker/./src/IO/ReadWriteBufferFromHTTP.cpp:465: DB::ReadWriteBufferFromHTTP::nextImpl() @ 0x0000000013cf1361 E 23. DB::ReadBuffer::next() @ 0x0000000008915c7b E 24. ./src/IO/ReadBuffer.h:96: DB::WebObjectStorage::loadFiles(String const&, std::unique_lock const&) const @ 0x000000001795fc19 E 25. ./build_docker/./src/Disks/ObjectStorages/Web/WebObjectStorage.cpp:225: DB::WebObjectStorage::tryGetFileInfo(String const&) const @ 0x000000001796309a E 26. ./build_docker/./src/Disks/ObjectStorages/Web/WebObjectStorage.cpp:185: DB::WebObjectStorage::tryGetFileInfo(String const&) const @ 0x0000000017962aba E 27. ./build_docker/./src/Disks/ObjectStorages/Web/MetadataStorageFromStaticFilesWebServer.cpp:106: DB::MetadataStorageFromStaticFilesWebServer::getStorageObjectsIfExist(String const&) const @ 0x000000001795d065 E 28. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:785: DB::DiskObjectStorage::readFileIfExists(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000178c3512 E 29. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:380: DB::MergeTreeData::initializeDirectoriesAndFormatVersion(String const&, bool, String const&, bool) @ 0x000000001b2ddc1d E 30. ./build_docker/./src/Storages/StorageMergeTree.cpp:159: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, DB::LoadingStrictnessLevel, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>) @ 0x000000001b7af0c7 E 31. ./contrib/llvm-project/libcxx/include/__memory/construct_at.h:41: std::shared_ptr std::allocate_shared[abi:ne190107], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, 0>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001b7ae9e4 E . (DNS_ERROR) E (query: ATTACH TABLE uk_price_paid UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' E ( E price UInt32, E date Date, E postcode1 LowCardinality(String), E postcode2 LowCardinality(String), E type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), E is_new UInt8, E duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), E addr1 String, E addr2 String, E street LowCardinality(String), E locality LowCardinality(String), E town LowCardinality(String), E district LowCardinality(String), E county LowCardinality(String) E ) E ENGINE = MergeTree E ORDER BY (postcode1, postcode2, addr1, addr2) E SETTINGS storage_policy = 'cow_policy_multi_volume' E ) helpers/cluster.py:3712: Exception ------------------------------ Captured log call ------------------------------- 2025-07-28 09:59:51.838000 [ 639 ] DEBUG : Executing query ATTACH TABLE uk_price_paid UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = MergeTree ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS storage_policy = 'cow_policy_multi_volume' on node (cluster.py:3648, query) 2025-07-28 10:00:48.923000 [ 639 ] DEBUG : Executing query ATTACH TABLE uk_price_paid UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = MergeTree ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS storage_policy = 'cow_policy_multi_volume' on node (cluster.py:3648, query) 2025-07-28 10:01:46.715000 [ 639 ] DEBUG : Executing query ATTACH TABLE uk_price_paid UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = MergeTree ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS storage_policy = 'cow_policy_multi_volume' on node (cluster.py:3648, query) 2025-07-28 10:02:41.304000 [ 639 ] DEBUG : Executing query DROP TABLE IF EXISTS uk_price_paid SYNC on node (cluster.py:3648, query) ---------------------------- Captured log teardown ----------------------------- 2025-07-28 10:02:41.636000 [ 639 ] DEBUG : Command:[docker compose --env-file /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw1/.env --project-name roottestcowpolicy-gw1 --file /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw1/node/docker-compose.yml stop --timeout 20] (cluster.py:121, run_and_check) 2025-07-28 10:02:47.755000 [ 639 ] DEBUG : Stderr: Container roottestcowpolicy-gw1-node-1 Stopping (cluster.py:147, run_and_check) 2025-07-28 10:02:47.756000 [ 639 ] DEBUG : Stderr: Container roottestcowpolicy-gw1-node-1 Stopped (cluster.py:147, run_and_check) 2025-07-28 10:02:47.756000 [ 639 ] DEBUG : Command:[bash -c [ -f /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw1/node/logs/stderr.log ] && zgrep -aH "==================" /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw1/node/logs/stderr.log* | ( [ -z "" ] && cat || grep -v "$" ) || true] (cluster.py:121, run_and_check) 2025-07-28 10:02:47.769000 [ 639 ] DEBUG : Command:[docker compose --env-file /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw1/.env --project-name roottestcowpolicy-gw1 --file /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw1/node/docker-compose.yml down --volumes] (cluster.py:121, run_and_check) 2025-07-28 10:02:48.175000 [ 639 ] DEBUG : Stderr: Container roottestcowpolicy-gw1-node-1 Stopping (cluster.py:147, run_and_check) 2025-07-28 10:02:48.176000 [ 639 ] DEBUG : Stderr: Container roottestcowpolicy-gw1-node-1 Stopped (cluster.py:147, run_and_check) 2025-07-28 10:02:48.176000 [ 639 ] DEBUG : Stderr: Container roottestcowpolicy-gw1-node-1 Removing (cluster.py:147, run_and_check) 2025-07-28 10:02:48.176000 [ 639 ] DEBUG : Stderr: Container roottestcowpolicy-gw1-node-1 Removed (cluster.py:147, run_and_check) 2025-07-28 10:02:48.176000 [ 639 ] DEBUG : Stderr: Network roottestcowpolicy-gw1_default Removing (cluster.py:147, run_and_check) 2025-07-28 10:02:48.176000 [ 639 ] DEBUG : Stderr: Network roottestcowpolicy-gw1_default Removed (cluster.py:147, run_and_check) 2025-07-28 10:02:48.176000 [ 639 ] DEBUG : Cleanup called (cluster.py:851, cleanup) 2025-07-28 10:02:48.196000 [ 639 ] DEBUG : Docker networks for project roottestcowpolicy-gw1 are NETWORK ID NAME DRIVER SCOPE (cluster.py:830, print_all_docker_pieces) 2025-07-28 10:02:48.214000 [ 639 ] DEBUG : Docker containers for project roottestcowpolicy-gw1 are CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES (cluster.py:838, print_all_docker_pieces) 2025-07-28 10:02:48.234000 [ 639 ] DEBUG : Docker volumes for project roottestcowpolicy-gw1 are DRIVER VOLUME NAME (cluster.py:846, print_all_docker_pieces) 2025-07-28 10:02:48.235000 [ 639 ] DEBUG : Command:[docker container list --all --filter name='^/roottestcowpolicy-gw1-.*-1$' --format '{{.ID}}:{{.Names}}'] (cluster.py:121, run_and_check) 2025-07-28 10:02:48.262000 [ 639 ] DEBUG : Unstopped containers: {} (cluster.py:865, cleanup) 2025-07-28 10:02:48.263000 [ 639 ] DEBUG : No running containers for project: roottestcowpolicy-gw1 (cluster.py:879, cleanup) 2025-07-28 10:02:48.263000 [ 639 ] DEBUG : Trying to prune unused networks... (cluster.py:885, cleanup) 2025-07-28 10:02:48.282000 [ 639 ] DEBUG : Trying to prune unused images... (cluster.py:901, cleanup) 2025-07-28 10:02:48.282000 [ 639 ] DEBUG : Command:[docker image prune -f] (cluster.py:121, run_and_check) 2025-07-28 10:02:48.308000 [ 639 ] DEBUG : Stdout:Total reclaimed space: 0B (cluster.py:145, run_and_check) 2025-07-28 10:02:48.308000 [ 639 ] DEBUG : Images pruned (cluster.py:904, cleanup) 2025-07-28 10:02:48.308000 [ 639 ] DEBUG : Trying to prune unused volumes... (cluster.py:910, cleanup) 2025-07-28 10:02:48.308000 [ 639 ] DEBUG : Command:[docker volume ls | wc -l] (cluster.py:121, run_and_check) 2025-07-28 10:02:48.333000 [ 639 ] DEBUG : Stdout:1 (cluster.py:145, run_and_check) 2025-07-28 10:02:48.333000 [ 639 ] DEBUG : Volumes pruned: 1 (cluster.py:915, cleanup) ----------------- generated report log file: parallel0_1.jsonl ----------------- ============================== slowest durations =============================== 169.73s call test_cow_policy/test.py::test_cow_policy[cow_policy_multi_volume] 163.96s call test_cow_policy/test.py::test_cow_policy[cow_policy_multi_disk] 20.01s call test_backup_restore_on_cluster/test_cancel_backup.py::test_shutdown_cancels_backup 19.72s setup test_backup_restore_on_cluster/test_cancel_backup.py::test_shutdown_cancels_backup 13.89s setup test_cow_policy/test.py::test_cow_policy[cow_policy_multi_disk] 6.70s teardown test_cow_policy/test.py::test_cow_policy[cow_policy_multi_volume] 2.13s teardown test_backup_restore_on_cluster/test_cancel_backup.py::test_shutdown_cancels_backup 0.00s teardown test_cow_policy/test.py::test_cow_policy[cow_policy_multi_disk] 0.00s setup test_cow_policy/test.py::test_cow_policy[cow_policy_multi_volume] =========================== short test summary info ============================ FAILED test_backup_restore_on_cluster/test_cancel_backup.py::test_shutdown_cancels_backup FAILED test_cow_policy/test.py::test_cow_policy[cow_policy_multi_disk] - Exce... FAILED test_cow_policy/test.py::test_cow_policy[cow_policy_multi_volume] - Ex... ======================== 3 failed in 356.82s (0:05:56) ========================= Traceback (most recent call last): File "/home/ubuntu/_work/ClickHouse/ClickHouse/tests/integration/./runner", line 492, in subprocess.check_call(cmd, shell=True, bufsize=0) File "/usr/lib/python3.10/subprocess.py", line 369, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command 'docker run --rm --name clickhouse_integration_tests_hs5iec --privileged --dns-search='.' --memory=30709035008 --security-opt seccomp=unconfined --cap-add=SYS_PTRACE --volume=/home/ubuntu/_work/_temp/test/build/clickhouse:/clickhouse --volume=/home/ubuntu/_work/ClickHouse/ClickHouse/programs/server:/clickhouse-config --volume=/home/ubuntu/_work/ClickHouse/ClickHouse/tests/integration:/ClickHouse/tests/integration --volume=/home/ubuntu/_work/ClickHouse/ClickHouse/utils/backupview:/ClickHouse/utils/backupview --volume=/home/ubuntu/_work/ClickHouse/ClickHouse/utils/grpc-client/pb2:/ClickHouse/utils/grpc-client/pb2 --volume=/run:/run/host:ro --volume=clickhouse_integration_tests_volume:/var/lib/docker -e DOCKER_DOTNET_CLIENT_TAG=11de0b29a15d -e DOCKER_HELPER_TAG=5dc43a6382f0 -e DOCKER_BASE_TAG=5ccda723c1fc -e DOCKER_KERBEROS_KDC_TAG=9391ecdee8d7 -e DOCKER_MYSQL_GOLANG_CLIENT_TAG=9bec2a638e6e -e DOCKER_MYSQL_JAVA_CLIENT_TAG=766bff31cfe4 -e DOCKER_MYSQL_JS_CLIENT_TAG=41ba7c2ec2a1 -e DOCKER_MYSQL_PHP_CLIENT_TAG=88be89c1e3b6 -e DOCKER_NGINX_DAV_TAG=b55ac9cd7519 -e DOCKER_POSTGRESQL_JAVA_CLIENT_TAG=a4eff5c7f4d6 -e DOCKER_PYTHON_BOTTLE_TAG=d862517635bf -e DOCKER_CLIENT_TIMEOUT=300 -e COMPOSE_HTTP_TIMEOUT=600 -e PYTHONUNBUFFERED=1 -e PYTEST_ADDOPTS="--dist=loadfile -n 10 -rfEps --run-id=1 --color=no --durations=0 --report-log=parallel0_1.jsonl --report-log-exclude-logs-on-passed-tests test_backup_restore_on_cluster/test_cancel_backup.py::test_shutdown_cancels_backup 'test_cow_policy/test.py::test_cow_policy[cow_policy_multi_disk]' 'test_cow_policy/test.py::test_cow_policy[cow_policy_multi_volume]' -vvv " altinityinfra/integration-tests-runner:226bfaf75ac1 ' returned non-zero exit status 1.